stylelint-config-silverwind 26.0.2 → 26.0.3
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/README.md +5 -3
- package/package.json +5 -5
- package/stylelint.config.js +1 -5
package/README.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
> Extensive stylelint configuration
|
|
3
3
|
|
|
4
4
|
```js
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-check
|
|
6
|
+
import {defineConfig} from "stylelint-define-config";
|
|
7
|
+
|
|
8
|
+
export default defineConfig({
|
|
7
9
|
extends: "stylelint-config-silverwind",
|
|
8
|
-
}
|
|
10
|
+
});
|
|
9
11
|
```
|
|
10
12
|
|
|
11
13
|
© [silverwind](https://github.com/silverwind), distributed under BSD licence.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-silverwind",
|
|
3
|
-
"version": "26.0.
|
|
3
|
+
"version": "26.0.3",
|
|
4
4
|
"description": "Extensive stylelint configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/stylelint-config-silverwind",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"eslint": "8.57.0",
|
|
24
|
-
"eslint-config-silverwind": "
|
|
25
|
-
"stylelint": "16.
|
|
26
|
-
"stylelint-define-config": "16.14.
|
|
24
|
+
"eslint-config-silverwind": "98.0.1",
|
|
25
|
+
"stylelint": "16.14.1",
|
|
26
|
+
"stylelint-define-config": "16.14.1",
|
|
27
27
|
"typescript": "5.7.3",
|
|
28
28
|
"typescript-config-silverwind": "6.2.1",
|
|
29
29
|
"updates": "16.4.1",
|
|
30
|
-
"versions": "12.1.
|
|
30
|
+
"versions": "12.1.3"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/stylelint.config.js
CHANGED
|
@@ -12,13 +12,10 @@ export default defineConfig({
|
|
|
12
12
|
overrides: [
|
|
13
13
|
{files: ["**/*.html"], customSyntax: "postcss-html"},
|
|
14
14
|
],
|
|
15
|
-
ignoreFiles: [
|
|
15
|
+
ignoreFiles: [ // TODO: these do not work from the shared config, likely a Stylelint bug
|
|
16
16
|
"**/dist/**",
|
|
17
17
|
"**/build/**",
|
|
18
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
|
|
22
19
|
],
|
|
23
20
|
rules: {
|
|
24
21
|
"@stylistic/at-rule-name-case": null,
|
|
@@ -105,7 +102,6 @@ export default defineConfig({
|
|
|
105
102
|
"declaration-block-no-redundant-longhand-properties": [true, {ignoreShorthands: ["flex-flow", "overflow", "grid-template"]}],
|
|
106
103
|
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
107
104
|
"declaration-property-unit-disallowed-list": {"line-height": ["em"]},
|
|
108
|
-
// @ts-expect-error - https://github.com/stylelint-types/stylelint-define-config/issues/1
|
|
109
105
|
"declaration-property-value-disallowed-list": {"word-break": ["break-word"]},
|
|
110
106
|
"font-family-name-quotes": "always-where-recommended",
|
|
111
107
|
"function-calc-no-unspaced-operator": true,
|