stylelint-config-silverwind 26.0.0 → 26.0.2
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 +2 -1
- package/stylelint.config.js +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "26.0.
|
|
3
|
+
"version": "26.0.2",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"eslint": "8.57.0",
|
|
24
24
|
"eslint-config-silverwind": "97.0.0",
|
|
25
25
|
"stylelint": "16.13.2",
|
|
26
|
+
"stylelint-define-config": "16.14.0",
|
|
26
27
|
"typescript": "5.7.3",
|
|
27
28
|
"typescript-config-silverwind": "6.2.1",
|
|
28
29
|
"updates": "16.4.1",
|
package/stylelint.config.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// @ts-check
|
|
2
|
+
import {defineConfig} from "stylelint-define-config";
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
3
5
|
extends: "stylelint-config-recommended",
|
|
4
6
|
plugins: [
|
|
5
7
|
"stylelint-declaration-strict-value",
|
|
@@ -14,6 +16,9 @@ export default {
|
|
|
14
16
|
"**/dist/**",
|
|
15
17
|
"**/build/**",
|
|
16
18
|
"**/node_modules/**",
|
|
19
|
+
"dist/**", // apparently not the same as above
|
|
20
|
+
"build/**", // apparently not the same as above
|
|
21
|
+
"node_modules/**", // apparently not the same as above
|
|
17
22
|
],
|
|
18
23
|
rules: {
|
|
19
24
|
"@stylistic/at-rule-name-case": null,
|
|
@@ -98,7 +103,9 @@ export default {
|
|
|
98
103
|
"color-function-notation": null, // TODO": ["modern", {ignore: "with-var-inside"}]
|
|
99
104
|
"declaration-block-no-duplicate-properties": [true, {ignore: ["consecutive-duplicates-with-different-values"]}],
|
|
100
105
|
"declaration-block-no-redundant-longhand-properties": [true, {ignoreShorthands: ["flex-flow", "overflow", "grid-template"]}],
|
|
106
|
+
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
101
107
|
"declaration-property-unit-disallowed-list": {"line-height": ["em"]},
|
|
108
|
+
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
102
109
|
"declaration-property-value-disallowed-list": {"word-break": ["break-word"]},
|
|
103
110
|
"font-family-name-quotes": "always-where-recommended",
|
|
104
111
|
"function-calc-no-unspaced-operator": true,
|
|
@@ -125,4 +132,4 @@ export default {
|
|
|
125
132
|
"shorthand-property-no-redundant-values": true,
|
|
126
133
|
"value-no-vendor-prefix": [true, {ignoreValues: ["box", "inline-box"]}],
|
|
127
134
|
},
|
|
128
|
-
};
|
|
135
|
+
});
|