123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- module.exports = {
- extends: [
- 'stylelint-config-standard',
- 'stylelint-config-standard-scss',
- 'stylelint-config-standard-vue',
- 'stylelint-config-prettier-scss'
- ],
- plugins: [
- 'stylelint-order',
- 'stylelint-scss'
- ],
- rules: {
- 'no-empty-source': null,
- 'selector-class-pattern': null,
- 'selector-pseudo-element-no-unknown': [
- true,
- {
- ignorePseudoElements: ['v-deep']
- }
- ],
- 'function-no-unknown': [
- true,
- {
- ignoreFunctions: ['map-get', 'map-has-key']
- }
- ],
- 'at-rule-no-unknown': [
- true,
- {
- ignoreAtRules: [
- 'mixin',
- 'include',
- 'function',
- 'if',
- 'else',
- 'return',
- 'each',
- 'for',
- 'while'
- ]
- }
- ],
- 'order/properties-order': [
- 'position',
- 'top',
- 'right',
- 'bottom',
- 'left',
- 'z-index',
- 'display',
- 'float',
- 'width',
- 'height',
- 'max-width',
- 'max-height',
- 'min-width',
- 'min-height',
- 'padding',
- 'padding-top',
- 'padding-right',
- 'padding-bottom',
- 'padding-left',
- 'margin',
- 'margin-top',
- 'margin-right',
- 'margin-bottom',
- 'margin-left',
- 'margin-collapse',
- 'margin-top-collapse',
- 'margin-right-collapse',
- 'margin-bottom-collapse',
- 'margin-left-collapse',
- 'overflow',
- 'overflow-x',
- 'overflow-y',
- 'clip',
- 'clear',
- 'font',
- 'font-family',
- 'font-size',
- 'font-smoothing',
- 'osx-font-smoothing',
- 'font-style',
- 'font-weight',
- 'line-height',
- 'letter-spacing',
- 'word-spacing',
- 'color',
- 'text-align',
- 'text-decoration',
- 'text-indent',
- 'text-overflow',
- 'text-rendering',
- 'text-size-adjust',
- 'text-shadow',
- 'text-transform',
- 'word-break',
- 'word-wrap',
- 'white-space',
- 'vertical-align',
- 'list-style',
- 'list-style-type',
- 'list-style-position',
- 'list-style-image',
- 'pointer-events',
- 'cursor',
- 'background',
- 'background-color',
- 'border',
- 'border-radius',
- 'content',
- 'outline',
- 'outline-offset',
- 'opacity',
- 'filter',
- 'visibility',
- 'size',
- 'transform',
- 'transition',
- 'animation'
- ]
- }
- }
|