|
49 | 49 | "@stylistic/stylelint-plugin" |
50 | 50 | ], |
51 | 51 | "rules": { |
52 | | - "annotation-no-unknown": true, |
53 | | - "at-rule-empty-line-before": [ |
54 | | - "always", |
55 | | - { |
56 | | - "except": [ |
57 | | - "first-nested", |
58 | | - "blockless-after-blockless" |
59 | | - ], |
60 | | - "ignore": [ |
61 | | - "after-comment" |
62 | | - ] |
63 | | - } |
64 | | - ], |
65 | | - "at-rule-no-unknown": true, |
66 | | - "at-rule-no-vendor-prefix": true, |
67 | | - "block-no-empty": true, |
68 | | - "color-function-notation": null, |
69 | | - "color-hex-alpha": "never", |
70 | | - "color-hex-length": "long", |
71 | | - "color-named": "never", |
72 | | - "color-no-invalid-hex": true, |
73 | | - "comment-no-empty": true, |
74 | | - "custom-property-no-missing-var-function": true, |
| 52 | + "no-descending-specificity": null, |
| 53 | + |
75 | 54 | "declaration-block-no-duplicate-custom-properties": true, |
76 | 55 | "declaration-block-no-duplicate-properties": true, |
77 | | - "declaration-block-no-shorthand-property-overrides": true, |
78 | | - "declaration-no-important": true, |
79 | | - "declaration-property-value-no-unknown": true, |
80 | | - "font-family-name-quotes": "always-unless-keyword", |
81 | 56 | "font-family-no-duplicate-names": true, |
82 | | - "font-family-no-missing-generic-family-keyword": true, |
83 | | - "font-weight-notation": [ |
84 | | - "numeric", |
85 | | - { |
86 | | - "ignore": [ |
87 | | - "relative" |
88 | | - ] |
89 | | - } |
90 | | - ], |
| 57 | + "keyframe-block-no-duplicate-selectors": true, |
| 58 | + "no-duplicate-at-import-rules": true, |
| 59 | + "no-duplicate-selectors": true, |
| 60 | + |
| 61 | + "block-no-empty": true, |
| 62 | + "comment-no-empty": true, |
| 63 | + "no-empty-source": true, |
| 64 | + |
| 65 | + "color-no-invalid-hex": true, |
91 | 66 | "function-calc-no-unspaced-operator": true, |
| 67 | + "declaration-no-important": true, |
| 68 | + "media-query-no-invalid": true, |
| 69 | + "named-grid-areas-no-invalid": true, |
| 70 | + "no-invalid-double-slash-comments": true, |
| 71 | + "no-invalid-position-at-import-rule": true, |
| 72 | + "string-no-newline": true, |
| 73 | + |
| 74 | + "no-irregular-whitespace": true, |
| 75 | + |
| 76 | + "custom-property-no-missing-var-function": true, |
| 77 | + "font-family-no-missing-generic-family-keyword": true, |
| 78 | + |
92 | 79 | "function-linear-gradient-no-nonstandard-direction": true, |
93 | | - "function-name-case": "lower", |
| 80 | + |
| 81 | + "declaration-block-no-shorthand-property-overrides": true, |
| 82 | + |
| 83 | + "annotation-no-unknown": true, |
| 84 | + "at-rule-no-unknown": true, |
| 85 | + "declaration-property-value-no-unknown": true, |
94 | 86 | "function-no-unknown": true, |
95 | | - "function-url-quotes": "always", |
96 | | - "import-notation": "string", |
97 | | - "keyframe-block-no-duplicate-selectors": true, |
| 87 | + "media-feature-name-no-unknown": true, |
| 88 | + "media-feature-name-value-no-unknown": true, |
| 89 | + "property-no-unknown": true, |
| 90 | + "selector-pseudo-class-no-unknown": true, |
| 91 | + "selector-pseudo-element-no-unknown": true, |
| 92 | + "unit-no-unknown": true, |
| 93 | + "selector-type-no-unknown": true, |
| 94 | + |
| 95 | + "at-rule-disallowed-list": null, |
| 96 | + "at-rule-no-vendor-prefix": true, |
| 97 | + |
| 98 | + "color-hex-alpha": "never", |
| 99 | + "color-named": "never", |
| 100 | + |
98 | 101 | "keyframe-declaration-no-important": true, |
99 | | - "media-query-no-invalid": true, |
100 | | - "keyframe-selector-notation": "percentage-unless-within-keyword-only-block", |
| 102 | + |
101 | 103 | "length-zero-no-unit": [ |
102 | 104 | true, |
103 | 105 | { |
|
110 | 112 | ] |
111 | 113 | } |
112 | 114 | ], |
113 | | - "max-nesting-depth": [ |
114 | | - 2, |
| 115 | + |
| 116 | + "media-feature-name-no-vendor-prefix": true, |
| 117 | + |
| 118 | + "property-no-vendor-prefix": true, |
| 119 | + |
| 120 | + "value-no-vendor-prefix": true, |
| 121 | + |
| 122 | + "function-name-case": "lower", |
| 123 | + "selector-type-case": "lower", |
| 124 | + "value-keyword-case": [ |
| 125 | + "lower", |
115 | 126 | { |
| 127 | + "camelCaseSvgKeywords": true |
| 128 | + } |
| 129 | + ], |
| 130 | + |
| 131 | + "at-rule-empty-line-before": [ |
| 132 | + "always", |
| 133 | + { |
| 134 | + "except": [ |
| 135 | + "first-nested", |
| 136 | + "blockless-after-blockless" |
| 137 | + ], |
116 | 138 | "ignore": [ |
117 | | - "blockless-at-rules", |
118 | | - "pseudo-classes" |
| 139 | + "after-comment" |
119 | 140 | ] |
120 | 141 | } |
121 | 142 | ], |
122 | | - "media-feature-name-no-unknown": true, |
123 | | - "media-feature-name-value-no-unknown": true, |
124 | | - "media-feature-name-no-vendor-prefix": true, |
125 | | - "named-grid-areas-no-invalid": true, |
126 | | - "no-descending-specificity": null, |
127 | | - "no-duplicate-at-import-rules": true, |
128 | | - "no-duplicate-selectors": true, |
129 | | - "no-empty-source": true, |
130 | | - "no-invalid-double-slash-comments": true, |
131 | | - "no-invalid-position-at-import-rule": true, |
132 | | - "no-irregular-whitespace": true, |
133 | | - "number-max-precision": 2, |
134 | | - "property-no-unknown": true, |
135 | | - "property-no-vendor-prefix": true, |
136 | 143 | "rule-empty-line-before": [ |
137 | 144 | "always", |
138 | 145 | { |
|
144 | 151 | ] |
145 | 152 | } |
146 | 153 | ], |
147 | | - "selector-attribute-quotes": "always", |
148 | | - "selector-max-compound-selectors": 3, |
| 154 | + |
| 155 | + "max-nesting-depth": [ |
| 156 | + 2, |
| 157 | + { |
| 158 | + "ignore": [ |
| 159 | + "blockless-at-rules", |
| 160 | + "pseudo-classes" |
| 161 | + ] |
| 162 | + } |
| 163 | + ], |
| 164 | + "number-max-precision": 2, |
149 | 165 | "selector-max-id": 0, |
150 | 166 | "selector-max-universal": 2, |
151 | | - "selector-not-notation": "simple", |
152 | | - "selector-pseudo-class-no-unknown": true, |
153 | | - "selector-pseudo-element-colon-notation": "double", |
154 | | - "selector-pseudo-element-no-unknown": true, |
155 | | - "selector-type-case": "lower", |
156 | | - "selector-type-no-unknown": true, |
157 | | - "string-no-newline": true, |
158 | | - "unit-no-unknown": true, |
159 | | - "value-keyword-case": [ |
160 | | - "lower", |
| 167 | + |
| 168 | + "color-function-notation": null, |
| 169 | + "color-hex-length": "long", |
| 170 | + "font-weight-notation": [ |
| 171 | + "numeric", |
161 | 172 | { |
162 | | - "camelCaseSvgKeywords": true |
| 173 | + "ignore": [ |
| 174 | + "relative" |
| 175 | + ] |
163 | 176 | } |
164 | 177 | ], |
165 | | - "value-no-vendor-prefix": true, |
| 178 | + "hue-degree-notation": null, |
| 179 | + "import-notation": "string", |
| 180 | + "keyframe-selector-notation": "percentage-unless-within-keyword-only-block", |
| 181 | + "selector-not-notation": "simple", |
| 182 | + "selector-pseudo-element-colon-notation": "double", |
166 | 183 |
|
| 184 | + "font-family-name-quotes": "always-unless-keyword", |
| 185 | + "function-url-quotes": "always", |
| 186 | + "selector-attribute-quotes": "always", |
167 | 187 |
|
168 | 188 | "@stylistic/at-rule-name-case": "lower", |
169 | 189 | "@stylistic/at-rule-name-space-after": "always", |
|
0 commit comments