|
| 1 | +module.export = { |
| 2 | + extends: 'stylelint-config-standard', |
| 3 | + plugins: [ |
| 4 | + 'stylelint-order' |
| 5 | + ], |
| 6 | + ignoreFiles: [ |
| 7 | + 'node_modules/**', |
| 8 | + '**/dist/**', |
| 9 | + '**/es/**', |
| 10 | + '**/cjs/**' |
| 11 | + ], |
| 12 | + rules: { |
| 13 | + 'function-url-quotes': 'always', |
| 14 | + 'string-quotes': 'single', |
| 15 | + 'selector-attribute-quotes': 'always', |
| 16 | + 'font-family-name-quotes': 'always-where-recommended', |
| 17 | + 'at-rule-no-vendor-prefix': true, |
| 18 | + 'media-feature-name-no-vendor-prefix': true, |
| 19 | + 'property-no-vendor-prefix': true, |
| 20 | + 'selector-no-vendor-prefix': true, |
| 21 | + 'value-no-vendor-prefix': true, |
| 22 | + 'max-nesting-depth': 0, |
| 23 | + 'selector-max-compound-selectors': 3, |
| 24 | + 'selector-max-specificity': '0,4,0', |
| 25 | + 'at-rule-no-unknown': true, |
| 26 | + 'color-named': 'never', |
| 27 | + 'declaration-no-important': true, |
| 28 | + 'selector-max-attribute': 0, |
| 29 | + 'selector-max-id': 0, |
| 30 | + 'selector-no-qualifying-type': true, |
| 31 | + 'selector-max-universal': 0, |
| 32 | + 'font-weight-notation': 'named-where-possible', |
| 33 | + 'selector-pseudo-class-no-unknown': [true, |
| 34 | + { |
| 35 | + ignorePseudoClasses: ['global', 'local'] |
| 36 | + } |
| 37 | + ], |
| 38 | + 'property-no-unknown': [true, |
| 39 | + { |
| 40 | + ignoreProperties: 'composes' |
| 41 | + } |
| 42 | + ], |
| 43 | + 'order/properties-order': [ |
| 44 | + 'composes', |
| 45 | + 'position', |
| 46 | + 'top', |
| 47 | + 'right', |
| 48 | + 'bottom', |
| 49 | + 'left', |
| 50 | + 'z-index', |
| 51 | + 'display', |
| 52 | + 'float', |
| 53 | + 'width', |
| 54 | + 'height', |
| 55 | + 'max-width', |
| 56 | + 'max-height', |
| 57 | + 'min-width', |
| 58 | + 'min-height', |
| 59 | + 'padding', |
| 60 | + 'padding-top', |
| 61 | + 'padding-right', |
| 62 | + 'padding-bottom', |
| 63 | + 'padding-left', |
| 64 | + 'margin', |
| 65 | + 'margin-top', |
| 66 | + 'margin-right', |
| 67 | + 'margin-bottom', |
| 68 | + 'margin-left', |
| 69 | + 'margin-collapse', |
| 70 | + 'margin-top-collapse', |
| 71 | + 'margin-right-collapse', |
| 72 | + 'margin-bottom-collapse', |
| 73 | + 'margin-left-collapse', |
| 74 | + 'overflow', |
| 75 | + 'overflow-x', |
| 76 | + 'overflow-y', |
| 77 | + 'clip', |
| 78 | + 'clear', |
| 79 | + 'font', |
| 80 | + 'font-family', |
| 81 | + 'font-size', |
| 82 | + 'font-smoothing', |
| 83 | + 'osx-font-smoothing', |
| 84 | + 'font-style', |
| 85 | + 'font-weight', |
| 86 | + 'hyphens', |
| 87 | + 'src', |
| 88 | + 'line-height', |
| 89 | + 'letter-spacing', |
| 90 | + 'word-spacing', |
| 91 | + 'color', |
| 92 | + 'text-align', |
| 93 | + 'text-decoration', |
| 94 | + 'text-indent', |
| 95 | + 'text-overflow', |
| 96 | + 'text-rendering', |
| 97 | + 'text-size-adjust', |
| 98 | + 'text-shadow', |
| 99 | + 'text-transform', |
| 100 | + 'word-break', |
| 101 | + 'word-wrap', |
| 102 | + 'white-space', |
| 103 | + 'vertical-align', |
| 104 | + 'list-style', |
| 105 | + 'list-style-type', |
| 106 | + 'list-style-position', |
| 107 | + 'list-style-image', |
| 108 | + 'pointer-events', |
| 109 | + 'cursor', |
| 110 | + 'background', |
| 111 | + 'background-attachment', |
| 112 | + 'background-color', |
| 113 | + 'background-image', |
| 114 | + 'background-position', |
| 115 | + 'background-repeat', |
| 116 | + 'background-size', |
| 117 | + 'border', |
| 118 | + 'border-collapse', |
| 119 | + 'border-top', |
| 120 | + 'border-right', |
| 121 | + 'border-bottom', |
| 122 | + 'border-left', |
| 123 | + 'border-color', |
| 124 | + 'border-image', |
| 125 | + 'border-top-color', |
| 126 | + 'border-right-color', |
| 127 | + 'border-bottom-color', |
| 128 | + 'border-left-color', |
| 129 | + 'border-spacing', |
| 130 | + 'border-style', |
| 131 | + 'border-top-style', |
| 132 | + 'border-right-style', |
| 133 | + 'border-bottom-style', |
| 134 | + 'border-left-style', |
| 135 | + 'border-width', |
| 136 | + 'border-top-width', |
| 137 | + 'border-right-width', |
| 138 | + 'border-bottom-width', |
| 139 | + 'border-left-width', |
| 140 | + 'border-radius', |
| 141 | + 'border-top-right-radius', |
| 142 | + 'border-bottom-right-radius', |
| 143 | + 'border-bottom-left-radius', |
| 144 | + 'border-top-left-radius', |
| 145 | + 'border-radius-topright', |
| 146 | + 'border-radius-bottomright', |
| 147 | + 'border-radius-bottomleft', |
| 148 | + 'border-radius-topleft', |
| 149 | + 'content', |
| 150 | + 'quotes', |
| 151 | + 'outline', |
| 152 | + 'outline-offset', |
| 153 | + 'opacity', |
| 154 | + 'filter', |
| 155 | + 'visibility', |
| 156 | + 'size', |
| 157 | + 'zoom', |
| 158 | + 'transform', |
| 159 | + 'box-align', |
| 160 | + 'box-flex', |
| 161 | + 'box-orient', |
| 162 | + 'box-pack', |
| 163 | + 'box-shadow', |
| 164 | + 'box-sizing', |
| 165 | + 'table-layout', |
| 166 | + 'animation', |
| 167 | + 'animation-delay', |
| 168 | + 'animation-duration', |
| 169 | + 'animation-iteration-count', |
| 170 | + 'animation-name', |
| 171 | + 'animation-play-state', |
| 172 | + 'animation-timing-function', |
| 173 | + 'animation-fill-mode', |
| 174 | + 'transition', |
| 175 | + 'transition-delay', |
| 176 | + 'transition-duration', |
| 177 | + 'transition-property', |
| 178 | + 'transition-timing-function', |
| 179 | + 'background-clip', |
| 180 | + 'backface-visibility', |
| 181 | + 'resize', |
| 182 | + 'appearance', |
| 183 | + 'user-select', |
| 184 | + 'interpolation-mode', |
| 185 | + 'direction', |
| 186 | + 'marks', |
| 187 | + 'page', |
| 188 | + 'set-link-source', |
| 189 | + 'unicode-bidi', |
| 190 | + 'speak' |
| 191 | + ] |
| 192 | + } |
| 193 | +}; |
0 commit comments