stylelint-config-silverwind 25.0.0 → 26.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-silverwind",
3
- "version": "25.0.0",
3
+ "version": "26.0.0",
4
4
  "description": "Extensive stylelint configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/stylelint-config-silverwind",
@@ -14,6 +14,7 @@
14
14
  "dependencies": {
15
15
  "@stylistic/stylelint-plugin": "3.1.1",
16
16
  "postcss-html": "1.8.0",
17
+ "stylelint-config-recommended": "15.0.0",
17
18
  "stylelint-declaration-block-no-ignored-properties": "2.8.0",
18
19
  "stylelint-declaration-strict-value": "1.10.7",
19
20
  "stylelint-value-no-unknown-custom-properties": "6.0.1"
@@ -1,5 +1,6 @@
1
1
  /** @type {import("stylelint").Config} */
2
2
  export default {
3
+ extends: "stylelint-config-recommended",
3
4
  plugins: [
4
5
  "stylelint-declaration-strict-value",
5
6
  "stylelint-declaration-block-no-ignored-properties",
@@ -92,134 +93,36 @@ export default {
92
93
  "@stylistic/value-list-comma-space-after": null,
93
94
  "@stylistic/value-list-comma-space-before": null,
94
95
  "@stylistic/value-list-max-empty-lines": 0,
95
- "alpha-value-notation": null,
96
- "annotation-no-unknown": true,
97
- "at-rule-allowed-list": null,
98
- "at-rule-disallowed-list": null,
99
- "at-rule-empty-line-before": null,
100
96
  "at-rule-no-unknown": [true, {ignoreAtRules: ["tailwind", "unocss"]}],
101
97
  "at-rule-no-vendor-prefix": true,
102
- "at-rule-property-required-list": null,
103
- "block-no-empty": true,
104
98
  "color-function-notation": null, // TODO": ["modern", {ignore: "with-var-inside"}]
105
- "color-hex-alpha": null,
106
- "color-hex-length": null,
107
- "color-named": null,
108
- "color-no-hex": null,
109
- "color-no-invalid-hex": true,
110
- "comment-empty-line-before": null,
111
- "comment-no-empty": true,
112
- "comment-pattern": null,
113
- "comment-whitespace-inside": null,
114
- "comment-word-disallowed-list": null,
115
- "csstools/value-no-unknown-custom-properties": null,
116
- "custom-media-pattern": null,
117
- "custom-property-empty-line-before": null,
118
- "custom-property-no-missing-var-function": true,
119
- "custom-property-pattern": null,
120
- "declaration-block-no-duplicate-custom-properties": true,
121
99
  "declaration-block-no-duplicate-properties": [true, {ignore: ["consecutive-duplicates-with-different-values"]}],
122
100
  "declaration-block-no-redundant-longhand-properties": [true, {ignoreShorthands: ["flex-flow", "overflow", "grid-template"]}],
123
- "declaration-block-no-shorthand-property-overrides": true,
124
- "declaration-block-single-line-max-declarations": null,
125
- "declaration-empty-line-before": null,
126
- "declaration-no-important": null,
127
- "declaration-property-max-values": null,
128
- "declaration-property-unit-allowed-list": null,
129
101
  "declaration-property-unit-disallowed-list": {"line-height": ["em"]},
130
- "declaration-property-value-allowed-list": null,
131
102
  "declaration-property-value-disallowed-list": {"word-break": ["break-word"]},
132
- "declaration-property-value-no-unknown": true,
133
103
  "font-family-name-quotes": "always-where-recommended",
134
- "font-family-no-duplicate-names": true,
135
- "font-family-no-missing-generic-family-keyword": true,
136
- "font-weight-notation": null,
137
- "function-allowed-list": null,
138
104
  "function-calc-no-unspaced-operator": true,
139
- "function-disallowed-list": null,
140
- "function-linear-gradient-no-nonstandard-direction": true,
141
105
  "function-name-case": "lower",
142
- "function-no-unknown": true,
143
- "function-url-no-scheme-relative": null,
144
106
  "function-url-quotes": "always",
145
- "function-url-scheme-allowed-list": null,
146
- "function-url-scheme-disallowed-list": null,
147
- "hue-degree-notation": null,
148
107
  "import-notation": "string",
149
108
  "keyframe-block-no-duplicate-selectors": true,
150
109
  "keyframe-declaration-no-important": true,
151
- "keyframe-selector-notation": null,
152
- "keyframes-name-pattern": null,
153
110
  "length-zero-no-unit": [true, {ignore: ["custom-properties"], ignoreFunctions: ["var"]}],
154
- "max-nesting-depth": null,
155
- "media-feature-name-allowed-list": null,
156
- "media-feature-name-disallowed-list": null,
157
- "media-feature-name-no-unknown": true,
158
111
  "media-feature-name-no-vendor-prefix": true,
159
- "media-feature-name-unit-allowed-list": null,
160
- "media-feature-name-value-allowed-list": null,
161
- "media-feature-name-value-no-unknown": true,
162
- "media-feature-range-notation": null,
163
- "media-query-no-invalid": true,
164
- "named-grid-areas-no-invalid": true,
165
112
  "no-descending-specificity": null,
166
- "no-duplicate-at-import-rules": true,
167
- "no-duplicate-selectors": true,
168
113
  "no-empty-source": null,
169
114
  "no-invalid-double-slash-comments": true,
170
115
  "no-invalid-position-at-import-rule": [true, {ignoreAtRules: ["tailwind"]}],
171
- "no-irregular-whitespace": true,
172
116
  "no-unknown-animations": null, // disabled until multi-file linting works
173
117
  "no-unknown-custom-media": null, // disabled until multi-file linting works
174
118
  "no-unknown-custom-properties": null, // disabled until multi-file linting works
175
- "number-max-precision": null,
176
119
  "plugin/declaration-block-no-ignored-properties": true,
177
- "property-allowed-list": null,
178
- "property-disallowed-list": null,
179
- "property-no-unknown": true,
180
- "property-no-vendor-prefix": null,
181
- "rule-empty-line-before": null,
182
- "rule-selector-property-disallowed-list": null,
183
120
  "scale-unlimited/declaration-strict-value": [["/color$/"], {ignoreValues: "/^(inherit|transparent|unset|initial|currentcolor|none)$/", ignoreFunctions: true, disableFix: true, expandShorthand: true}],
184
- "selector-anb-no-unmatchable": true,
185
- "selector-attribute-name-disallowed-list": null,
186
- "selector-attribute-operator-allowed-list": null,
187
- "selector-attribute-operator-disallowed-list": null,
188
121
  "selector-attribute-quotes": "always",
189
- "selector-class-pattern": null,
190
- "selector-combinator-allowed-list": null,
191
- "selector-combinator-disallowed-list": null,
192
- "selector-disallowed-list": null,
193
- "selector-id-pattern": null,
194
- "selector-max-attribute": null,
195
- "selector-max-class": null,
196
- "selector-max-combinators": null,
197
- "selector-max-compound-selectors": null,
198
- "selector-max-id": null,
199
- "selector-max-pseudo-class": null,
200
- "selector-max-specificity": null,
201
- "selector-max-type": null,
202
- "selector-max-universal": null,
203
- "selector-nested-pattern": null,
204
- "selector-no-qualifying-type": null,
205
122
  "selector-no-vendor-prefix": true,
206
- "selector-not-notation": null,
207
- "selector-pseudo-class-allowed-list": null,
208
- "selector-pseudo-class-disallowed-list": null,
209
- "selector-pseudo-class-no-unknown": true,
210
- "selector-pseudo-element-allowed-list": null,
211
- "selector-pseudo-element-colon-notation": null,
212
- "selector-pseudo-element-disallowed-list": null,
213
- "selector-pseudo-element-no-unknown": true,
214
123
  "selector-type-case": "lower",
215
124
  "selector-type-no-unknown": [true, {ignore: ["custom-elements"]}],
216
125
  "shorthand-property-no-redundant-values": true,
217
- "string-no-newline": true,
218
- "time-min-milliseconds": null,
219
- "unit-allowed-list": null,
220
- "unit-disallowed-list": null,
221
- "unit-no-unknown": true,
222
- "value-keyword-case": null,
223
126
  "value-no-vendor-prefix": [true, {ignoreValues: ["box", "inline-box"]}],
224
127
  },
225
128
  };