stylelint-config-silverwind 26.0.0 → 26.0.1
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 +7 -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.1",
|
|
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",
|
|
@@ -98,7 +100,9 @@ export default {
|
|
|
98
100
|
"color-function-notation": null, // TODO": ["modern", {ignore: "with-var-inside"}]
|
|
99
101
|
"declaration-block-no-duplicate-properties": [true, {ignore: ["consecutive-duplicates-with-different-values"]}],
|
|
100
102
|
"declaration-block-no-redundant-longhand-properties": [true, {ignoreShorthands: ["flex-flow", "overflow", "grid-template"]}],
|
|
103
|
+
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
101
104
|
"declaration-property-unit-disallowed-list": {"line-height": ["em"]},
|
|
105
|
+
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
102
106
|
"declaration-property-value-disallowed-list": {"word-break": ["break-word"]},
|
|
103
107
|
"font-family-name-quotes": "always-where-recommended",
|
|
104
108
|
"function-calc-no-unspaced-operator": true,
|
|
@@ -125,4 +129,4 @@ export default {
|
|
|
125
129
|
"shorthand-property-no-redundant-values": true,
|
|
126
130
|
"value-no-vendor-prefix": [true, {ignoreValues: ["box", "inline-box"]}],
|
|
127
131
|
},
|
|
128
|
-
};
|
|
132
|
+
});
|