stylelint-config-silverwind 34.1.3 → 34.1.4
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/dist/index.d.ts +62 -65
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -7,76 +7,73 @@ declare const _default: {
|
|
|
7
7
|
plugins: (import("stylelint").Plugin | typeof declarationStrictValue)[];
|
|
8
8
|
overrides: {
|
|
9
9
|
files: string[];
|
|
10
|
-
customSyntax:
|
|
11
|
-
parse: import("postcss/lib/postcss").Parser<import("postcss/lib/postcss").Document | import("postcss/lib/root").default>;
|
|
12
|
-
stringify: import("postcss/lib/postcss").Stringifier;
|
|
13
|
-
};
|
|
10
|
+
customSyntax: ((options?: Record<string, any>) => import("postcss/lib/postcss").Syntax) & import("postcss/lib/postcss").Syntax<import("postcss/lib/postcss").Document | import("postcss/lib/root").default>;
|
|
14
11
|
}[];
|
|
15
12
|
ignoreFiles: string[];
|
|
16
13
|
rules: {
|
|
17
|
-
"@stylistic/at-rule-name-case":
|
|
18
|
-
"@stylistic/at-rule-name-newline-after":
|
|
19
|
-
"@stylistic/at-rule-name-space-after":
|
|
20
|
-
"@stylistic/at-rule-semicolon-newline-after":
|
|
21
|
-
"@stylistic/at-rule-semicolon-space-before":
|
|
22
|
-
"@stylistic/block-closing-brace-empty-line-before":
|
|
23
|
-
"@stylistic/block-closing-brace-newline-after":
|
|
24
|
-
"@stylistic/block-closing-brace-newline-before":
|
|
25
|
-
"@stylistic/block-closing-brace-space-after":
|
|
26
|
-
"@stylistic/block-closing-brace-space-before":
|
|
27
|
-
"@stylistic/block-opening-brace-newline-after":
|
|
28
|
-
"@stylistic/block-opening-brace-newline-before":
|
|
29
|
-
"@stylistic/block-opening-brace-space-after":
|
|
14
|
+
"@stylistic/at-rule-name-case": null;
|
|
15
|
+
"@stylistic/at-rule-name-newline-after": null;
|
|
16
|
+
"@stylistic/at-rule-name-space-after": null;
|
|
17
|
+
"@stylistic/at-rule-semicolon-newline-after": null;
|
|
18
|
+
"@stylistic/at-rule-semicolon-space-before": null;
|
|
19
|
+
"@stylistic/block-closing-brace-empty-line-before": null;
|
|
20
|
+
"@stylistic/block-closing-brace-newline-after": null;
|
|
21
|
+
"@stylistic/block-closing-brace-newline-before": null;
|
|
22
|
+
"@stylistic/block-closing-brace-space-after": null;
|
|
23
|
+
"@stylistic/block-closing-brace-space-before": null;
|
|
24
|
+
"@stylistic/block-opening-brace-newline-after": null;
|
|
25
|
+
"@stylistic/block-opening-brace-newline-before": null;
|
|
26
|
+
"@stylistic/block-opening-brace-space-after": null;
|
|
30
27
|
"@stylistic/block-opening-brace-space-before": string;
|
|
31
|
-
"@stylistic/color-hex-case":
|
|
28
|
+
"@stylistic/color-hex-case": null;
|
|
32
29
|
"@stylistic/declaration-bang-space-after": string;
|
|
33
|
-
"@stylistic/declaration-bang-space-before":
|
|
34
|
-
"@stylistic/declaration-block-semicolon-newline-after":
|
|
35
|
-
"@stylistic/declaration-block-semicolon-newline-before":
|
|
36
|
-
"@stylistic/declaration-block-semicolon-space-after":
|
|
30
|
+
"@stylistic/declaration-bang-space-before": null;
|
|
31
|
+
"@stylistic/declaration-block-semicolon-newline-after": null;
|
|
32
|
+
"@stylistic/declaration-block-semicolon-newline-before": null;
|
|
33
|
+
"@stylistic/declaration-block-semicolon-space-after": null;
|
|
37
34
|
"@stylistic/declaration-block-semicolon-space-before": string;
|
|
38
|
-
"@stylistic/declaration-block-trailing-semicolon":
|
|
39
|
-
"@stylistic/declaration-colon-newline-after":
|
|
40
|
-
"@stylistic/declaration-colon-space-after":
|
|
35
|
+
"@stylistic/declaration-block-trailing-semicolon": null;
|
|
36
|
+
"@stylistic/declaration-colon-newline-after": null;
|
|
37
|
+
"@stylistic/declaration-colon-space-after": null;
|
|
41
38
|
"@stylistic/declaration-colon-space-before": string;
|
|
42
|
-
"@stylistic/function-comma-newline-after":
|
|
43
|
-
"@stylistic/function-comma-newline-before":
|
|
44
|
-
"@stylistic/function-comma-space-after":
|
|
45
|
-
"@stylistic/function-comma-space-before":
|
|
39
|
+
"@stylistic/function-comma-newline-after": null;
|
|
40
|
+
"@stylistic/function-comma-newline-before": null;
|
|
41
|
+
"@stylistic/function-comma-space-after": null;
|
|
42
|
+
"@stylistic/function-comma-space-before": null;
|
|
46
43
|
"@stylistic/function-max-empty-lines": number;
|
|
47
|
-
"@stylistic/function-parentheses-newline-inside":
|
|
48
|
-
"@stylistic/function-parentheses-space-inside":
|
|
49
|
-
"@stylistic/function-whitespace-after":
|
|
44
|
+
"@stylistic/function-parentheses-newline-inside": null;
|
|
45
|
+
"@stylistic/function-parentheses-space-inside": null;
|
|
46
|
+
"@stylistic/function-whitespace-after": null;
|
|
50
47
|
"@stylistic/indentation": number;
|
|
51
|
-
"@stylistic/linebreaks":
|
|
48
|
+
"@stylistic/linebreaks": null;
|
|
52
49
|
"@stylistic/max-empty-lines": number;
|
|
53
|
-
"@stylistic/max-line-length":
|
|
54
|
-
"@stylistic/media-feature-colon-space-after":
|
|
50
|
+
"@stylistic/max-line-length": null;
|
|
51
|
+
"@stylistic/media-feature-colon-space-after": null;
|
|
55
52
|
"@stylistic/media-feature-colon-space-before": string;
|
|
56
|
-
"@stylistic/media-feature-name-case":
|
|
57
|
-
"@stylistic/media-feature-parentheses-space-inside":
|
|
53
|
+
"@stylistic/media-feature-name-case": null;
|
|
54
|
+
"@stylistic/media-feature-parentheses-space-inside": null;
|
|
58
55
|
"@stylistic/media-feature-range-operator-space-after": string;
|
|
59
56
|
"@stylistic/media-feature-range-operator-space-before": string;
|
|
60
|
-
"@stylistic/media-query-list-comma-newline-after":
|
|
61
|
-
"@stylistic/media-query-list-comma-newline-before":
|
|
62
|
-
"@stylistic/media-query-list-comma-space-after":
|
|
63
|
-
"@stylistic/media-query-list-comma-space-before":
|
|
64
|
-
"@stylistic/named-grid-areas-alignment":
|
|
65
|
-
"@stylistic/no-empty-first-line":
|
|
57
|
+
"@stylistic/media-query-list-comma-newline-after": null;
|
|
58
|
+
"@stylistic/media-query-list-comma-newline-before": null;
|
|
59
|
+
"@stylistic/media-query-list-comma-space-after": null;
|
|
60
|
+
"@stylistic/media-query-list-comma-space-before": null;
|
|
61
|
+
"@stylistic/named-grid-areas-alignment": null;
|
|
62
|
+
"@stylistic/no-empty-first-line": null;
|
|
66
63
|
"@stylistic/no-eol-whitespace": boolean;
|
|
67
64
|
"@stylistic/no-extra-semicolons": boolean;
|
|
68
|
-
"@stylistic/no-missing-end-of-source-newline":
|
|
69
|
-
"@stylistic/number-leading-zero":
|
|
70
|
-
"@stylistic/number-no-trailing-zeros":
|
|
65
|
+
"@stylistic/no-missing-end-of-source-newline": null;
|
|
66
|
+
"@stylistic/number-leading-zero": null;
|
|
67
|
+
"@stylistic/number-no-trailing-zeros": null;
|
|
71
68
|
"@stylistic/property-case": string;
|
|
72
|
-
"@stylistic/selector-attribute-brackets-space-inside":
|
|
73
|
-
"@stylistic/selector-attribute-operator-space-after":
|
|
74
|
-
"@stylistic/selector-attribute-operator-space-before":
|
|
75
|
-
"@stylistic/selector-combinator-space-after":
|
|
76
|
-
"@stylistic/selector-combinator-space-before":
|
|
77
|
-
"@stylistic/selector-descendant-combinator-no-non-space":
|
|
78
|
-
"@stylistic/selector-list-comma-newline-after":
|
|
79
|
-
"@stylistic/selector-list-comma-newline-before":
|
|
69
|
+
"@stylistic/selector-attribute-brackets-space-inside": null;
|
|
70
|
+
"@stylistic/selector-attribute-operator-space-after": null;
|
|
71
|
+
"@stylistic/selector-attribute-operator-space-before": null;
|
|
72
|
+
"@stylistic/selector-combinator-space-after": null;
|
|
73
|
+
"@stylistic/selector-combinator-space-before": null;
|
|
74
|
+
"@stylistic/selector-descendant-combinator-no-non-space": null;
|
|
75
|
+
"@stylistic/selector-list-comma-newline-after": null;
|
|
76
|
+
"@stylistic/selector-list-comma-newline-before": null;
|
|
80
77
|
"@stylistic/selector-list-comma-space-after": string;
|
|
81
78
|
"@stylistic/selector-list-comma-space-before": string;
|
|
82
79
|
"@stylistic/selector-max-empty-lines": number;
|
|
@@ -84,18 +81,18 @@ declare const _default: {
|
|
|
84
81
|
"@stylistic/selector-pseudo-class-parentheses-space-inside": string;
|
|
85
82
|
"@stylistic/selector-pseudo-element-case": string;
|
|
86
83
|
"@stylistic/string-quotes": string;
|
|
87
|
-
"@stylistic/unicode-bom":
|
|
84
|
+
"@stylistic/unicode-bom": null;
|
|
88
85
|
"@stylistic/unit-case": string;
|
|
89
|
-
"@stylistic/value-list-comma-newline-after":
|
|
90
|
-
"@stylistic/value-list-comma-newline-before":
|
|
91
|
-
"@stylistic/value-list-comma-space-after":
|
|
92
|
-
"@stylistic/value-list-comma-space-before":
|
|
86
|
+
"@stylistic/value-list-comma-newline-after": null;
|
|
87
|
+
"@stylistic/value-list-comma-newline-before": null;
|
|
88
|
+
"@stylistic/value-list-comma-space-after": null;
|
|
89
|
+
"@stylistic/value-list-comma-space-before": null;
|
|
93
90
|
"@stylistic/value-list-max-empty-lines": number;
|
|
94
91
|
"at-rule-no-unknown": (boolean | {
|
|
95
92
|
ignoreAtRules: string[];
|
|
96
93
|
})[];
|
|
97
94
|
"at-rule-no-vendor-prefix": boolean;
|
|
98
|
-
"color-function-notation":
|
|
95
|
+
"color-function-notation": null;
|
|
99
96
|
"declaration-block-no-duplicate-properties": (boolean | {
|
|
100
97
|
ignore: string[];
|
|
101
98
|
})[];
|
|
@@ -120,15 +117,15 @@ declare const _default: {
|
|
|
120
117
|
ignoreFunctions: string[];
|
|
121
118
|
})[];
|
|
122
119
|
"media-feature-name-no-vendor-prefix": boolean;
|
|
123
|
-
"no-descending-specificity":
|
|
124
|
-
"no-empty-source":
|
|
120
|
+
"no-descending-specificity": null;
|
|
121
|
+
"no-empty-source": null;
|
|
125
122
|
"no-invalid-double-slash-comments": boolean;
|
|
126
123
|
"no-invalid-position-at-import-rule": (boolean | {
|
|
127
124
|
ignoreAtRules: string[];
|
|
128
125
|
})[];
|
|
129
|
-
"no-unknown-animations":
|
|
130
|
-
"no-unknown-custom-media":
|
|
131
|
-
"no-unknown-custom-properties":
|
|
126
|
+
"no-unknown-animations": null;
|
|
127
|
+
"no-unknown-custom-media": null;
|
|
128
|
+
"no-unknown-custom-properties": null;
|
|
132
129
|
"plugin/declaration-block-no-ignored-properties": boolean;
|
|
133
130
|
"property-no-deprecated": boolean;
|
|
134
131
|
"scale-unlimited/declaration-strict-value": (string[] | {
|
package/dist/index.js
CHANGED
|
@@ -14334,7 +14334,7 @@ const index$1d = {
|
|
|
14334
14334
|
rulesPlugins
|
|
14335
14335
|
],
|
|
14336
14336
|
overrides: [
|
|
14337
|
-
{ files: ["**/*.html"], customSyntax:
|
|
14337
|
+
{ files: ["**/*.html"], customSyntax: postcssHtml }
|
|
14338
14338
|
],
|
|
14339
14339
|
ignoreFiles: [
|
|
14340
14340
|
// TODO: these do not work from the shared config, likely a Stylelint bug
|
|
@@ -25417,7 +25417,7 @@ function requireParser() {
|
|
|
25417
25417
|
if (_space2.endsWith(" ") && _rawSpace2.endsWith(" ")) {
|
|
25418
25418
|
spaces.before = _space2.slice(0, _space2.length - 1);
|
|
25419
25419
|
raws.spaces.before = _rawSpace2.slice(0, _rawSpace2.length - 1);
|
|
25420
|
-
} else if (_space2
|
|
25420
|
+
} else if (_space2[0] === " " && _rawSpace2[0] === " ") {
|
|
25421
25421
|
spaces.after = _space2.slice(1);
|
|
25422
25422
|
raws.spaces.after = _rawSpace2.slice(1);
|
|
25423
25423
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "34.1.
|
|
3
|
+
"version": "34.1.4",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@stylelint-types/stylelint-stylistic": "3.1.3",
|
|
22
22
|
"@stylistic/stylelint-plugin": "4.0.0",
|
|
23
23
|
"eslint": "9.39.1",
|
|
24
|
-
"eslint-config-silverwind": "
|
|
25
|
-
"stylelint": "16.
|
|
24
|
+
"eslint-config-silverwind": "112.0.3",
|
|
25
|
+
"stylelint": "16.26.1",
|
|
26
26
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
27
27
|
"stylelint-declaration-strict-value": "1.10.11",
|
|
28
28
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
29
29
|
"typescript": "5.9.3",
|
|
30
|
-
"typescript-config-silverwind": "
|
|
31
|
-
"updates": "16.9.
|
|
32
|
-
"versions": "14.0.
|
|
33
|
-
"vite": "7.2.
|
|
30
|
+
"typescript-config-silverwind": "14.0.0",
|
|
31
|
+
"updates": "16.9.2",
|
|
32
|
+
"versions": "14.0.3",
|
|
33
|
+
"vite": "7.2.6",
|
|
34
34
|
"vite-config-silverwind": "6.0.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|