|
1 | 1 | {
|
| 2 | + "plugins": [ |
| 3 | + "stylelint-order" |
| 4 | + ], |
2 | 5 | "rules": {
|
| 6 | + "order/order": [ |
| 7 | + "custom-properties", |
| 8 | + "dollar-variables", |
| 9 | + "declarations", |
| 10 | + "rules", |
| 11 | + "at-rules" |
| 12 | + ], |
| 13 | + "order/properties-order": [ |
| 14 | + "position", |
| 15 | + "top", |
| 16 | + "right", |
| 17 | + "bottom", |
| 18 | + "left", |
| 19 | + "z-index", |
| 20 | + "display", |
| 21 | + "visibility", |
| 22 | + "float", |
| 23 | + "clear", |
| 24 | + "overflow", |
| 25 | + "overflow-x", |
| 26 | + "overflow-y", |
| 27 | + "box-sizing", |
| 28 | + "width", |
| 29 | + "min-width", |
| 30 | + "max-width", |
| 31 | + "height", |
| 32 | + "min-height", |
| 33 | + "max-height", |
| 34 | + "flex-direction", |
| 35 | + "flex-wrap", |
| 36 | + "align-items", |
| 37 | + "justify-content", |
| 38 | + "align-content", |
| 39 | + "align-self", |
| 40 | + "flex-grow", |
| 41 | + "flex-shrink", |
| 42 | + "flex", |
| 43 | + "order", |
| 44 | + "margin", |
| 45 | + "margin-top", |
| 46 | + "margin-right", |
| 47 | + "margin-bottom", |
| 48 | + "margin-left", |
| 49 | + "padding", |
| 50 | + "padding-top", |
| 51 | + "padding-right", |
| 52 | + "padding-bottom", |
| 53 | + "padding-left", |
| 54 | + "color", |
| 55 | + "font", |
| 56 | + "font-size", |
| 57 | + "font-family", |
| 58 | + "font-weight", |
| 59 | + "font-style", |
| 60 | + "font-smooth", |
| 61 | + "line-height", |
| 62 | + "text-align", |
| 63 | + "vertical-align", |
| 64 | + "white-space", |
| 65 | + "text-decoration", |
| 66 | + "text-shadow", |
| 67 | + "text-indent", |
| 68 | + "letter-spacing", |
| 69 | + "word-spacing", |
| 70 | + "text-outline", |
| 71 | + "text-transform", |
| 72 | + "text-wrap", |
| 73 | + "text-overflow", |
| 74 | + "text-overflow-ellipsis", |
| 75 | + "word-wrap", |
| 76 | + "word-break", |
| 77 | + "tab-size", |
| 78 | + "hyphens", |
| 79 | + "border", |
| 80 | + "border-width", |
| 81 | + "border-style", |
| 82 | + "border-color", |
| 83 | + "border-top", |
| 84 | + "border-top-width", |
| 85 | + "border-top-style", |
| 86 | + "border-top-color", |
| 87 | + "border-right", |
| 88 | + "border-right-width", |
| 89 | + "border-right-style", |
| 90 | + "border-right-color", |
| 91 | + "border-bottom", |
| 92 | + "border-bottom-width", |
| 93 | + "border-bottom-style", |
| 94 | + "border-bottom-color", |
| 95 | + "border-left", |
| 96 | + "border-left-width", |
| 97 | + "border-left-style", |
| 98 | + "border-left-color", |
| 99 | + "border-radius", |
| 100 | + "border-top-left-radius", |
| 101 | + "border-top-right-radius", |
| 102 | + "border-bottom-right-radius", |
| 103 | + "border-bottom-left-radius", |
| 104 | + "border-image", |
| 105 | + "border-image-source", |
| 106 | + "border-image-slice", |
| 107 | + "border-image-width", |
| 108 | + "border-image-outset", |
| 109 | + "border-image-repeat", |
| 110 | + "border-spacing", |
| 111 | + "border-collapse", |
| 112 | + "list-style", |
| 113 | + "list-style-position", |
| 114 | + "list-style-type", |
| 115 | + "list-style-image", |
| 116 | + "content", |
| 117 | + "counter-reset", |
| 118 | + "counter-increment", |
| 119 | + "cursor", |
| 120 | + "user-select", |
| 121 | + "transition", |
| 122 | + "transition-delay", |
| 123 | + "transition-timing-function", |
| 124 | + "transition-duration", |
| 125 | + "transition-property", |
| 126 | + "transform", |
| 127 | + "transform-origin", |
| 128 | + "animation", |
| 129 | + "animation-name", |
| 130 | + "animation-duration", |
| 131 | + "animation-play-state", |
| 132 | + "animation-timing-function", |
| 133 | + "animation-delay", |
| 134 | + "animation-iteration-count", |
| 135 | + "animation-direction", |
| 136 | + "pointer-events", |
| 137 | + "opacity", |
| 138 | + "outline", |
| 139 | + "outline-width", |
| 140 | + "outline-style", |
| 141 | + "outline-color", |
| 142 | + "outline-offset", |
| 143 | + "background", |
| 144 | + "background-color", |
| 145 | + "background-image", |
| 146 | + "background-repeat", |
| 147 | + "background-attachment", |
| 148 | + "background-position", |
| 149 | + "background-position-x", |
| 150 | + "background-position-y", |
| 151 | + "background-clip", |
| 152 | + "background-origin", |
| 153 | + "background-size", |
| 154 | + "box-shadow" |
| 155 | + ], |
3 | 156 | "at-rule-empty-line-before": [ "always", {
|
4 | 157 | "except": [
|
5 | 158 | "blockless-after-same-name-blockless",
|
|
17 | 170 | "block-closing-brace-newline-before": "always-multi-line",
|
18 | 171 | "block-closing-brace-space-before": "always-single-line",
|
19 | 172 | "block-no-empty": true,
|
20 |
| - "block-no-single-line": true, |
21 |
| - "block-opening-brace-newline-after": "always-multi-line", |
22 | 173 | "block-opening-brace-space-after": "always-single-line",
|
23 | 174 | "block-opening-brace-space-before": "always",
|
24 | 175 | "color-hex-case": "lower",
|
|
41 | 192 | } ],
|
42 | 193 | "declaration-bang-space-after": "never",
|
43 | 194 | "declaration-bang-space-before": "always",
|
44 |
| - "declaration-block-no-ignored-properties": true, |
45 | 195 | "declaration-block-no-shorthand-property-overrides": true,
|
46 | 196 | "declaration-block-semicolon-newline-after": "always-multi-line",
|
47 | 197 | "declaration-block-semicolon-newline-before": "never-multi-line",
|
|
91 | 241 | "no-empty-source": true,
|
92 | 242 | "no-eol-whitespace": true,
|
93 | 243 | "no-extra-semicolons": true,
|
94 |
| - "no-indistinguishable-colors": true, |
95 | 244 | "no-invalid-double-slash-comments": true,
|
96 | 245 | "no-missing-end-of-source-newline": true,
|
97 | 246 | "no-unknown-animations": true,
|
98 | 247 | "number-leading-zero": "always",
|
99 | 248 | "number-no-trailing-zeros": true,
|
100 | 249 | "property-case": "lower",
|
101 | 250 | "property-no-vendor-prefix": true,
|
102 |
| - "root-no-standard-properties": true, |
103 |
| - "rule-nested-empty-line-before": [ "always-multi-line", { |
| 251 | + "rule-empty-line-before": [ "always-multi-line", { |
104 | 252 | "except": ["first-nested"],
|
105 | 253 | "ignore": ["after-comment"]
|
106 | 254 | } ],
|
107 |
| - "rule-non-nested-empty-line-before": [ "always-multi-line", { |
108 |
| - "ignore": ["after-comment"] |
109 |
| - } ], |
110 | 255 | "selector-attribute-brackets-space-inside": "never",
|
111 | 256 | "selector-attribute-operator-space-after": "never",
|
112 | 257 | "selector-attribute-operator-space-before": "never",
|
|
130 | 275 | "shorthand-property-no-redundant-values": true,
|
131 | 276 | "string-no-newline": true,
|
132 | 277 | "string-quotes": "double",
|
133 |
| - "stylelint-disable-reason": "always-after", |
134 |
| - "time-no-imperceptible": true, |
| 278 | + "time-min-milliseconds": 100, |
135 | 279 | "unit-case": "lower",
|
136 | 280 | "unit-no-unknown": true,
|
137 | 281 | "value-list-comma-newline-after": "always-multi-line",
|
|
0 commit comments