stylelint-config-sweet 7.0.0 → 8.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 +13 -11
- package/stylelint.config.js +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-sweet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Stylelint extendable config for the most sweet-ass CSS and Sass. 🤙🏼",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -22,22 +22,24 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@stylistic/stylelint-config": "^3.0.1",
|
|
25
|
-
"postcss-html": "^1.8.
|
|
25
|
+
"postcss-html": "^1.8.1",
|
|
26
26
|
"stylelint-config-html": "^1.1.0",
|
|
27
|
-
"stylelint-config-recess-order": "^7.
|
|
27
|
+
"stylelint-config-recess-order": "^7.4.0",
|
|
28
28
|
"stylelint-config-standard-scss": "^16.0.0",
|
|
29
|
-
"stylelint-
|
|
29
|
+
"stylelint-high-performance-animation": "^1.11.0",
|
|
30
|
+
"stylelint-order": "^7.0.1",
|
|
31
|
+
"stylelint-plugin-use-baseline": "^1.1.6"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
|
-
"@vitest/eslint-plugin": "^1.
|
|
33
|
-
"eslint": "^9.
|
|
34
|
-
"eslint-config-sweet": "^
|
|
34
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
35
|
+
"eslint": "^9.39.2",
|
|
36
|
+
"eslint-config-sweet": "^30.0.0",
|
|
35
37
|
"robins-tsconfig": "^2.0.0",
|
|
36
|
-
"stylelint": "^16.
|
|
37
|
-
"typescript": "^5.9.
|
|
38
|
-
"vitest": "^
|
|
38
|
+
"stylelint": "^16.26.1",
|
|
39
|
+
"typescript": "^5.9.3",
|
|
40
|
+
"vitest": "^4.0.17"
|
|
39
41
|
},
|
|
40
42
|
"peerDependencies": {
|
|
41
|
-
"stylelint": "^16.
|
|
43
|
+
"stylelint": "^16.26.1"
|
|
42
44
|
}
|
|
43
45
|
}
|
package/stylelint.config.js
CHANGED
|
@@ -4,6 +4,10 @@ export default {
|
|
|
4
4
|
reportInvalidScopeDisables: true,
|
|
5
5
|
reportDescriptionlessDisables: true,
|
|
6
6
|
reportUnscopedDisables: true,
|
|
7
|
+
plugins: [
|
|
8
|
+
"stylelint-plugin-use-baseline",
|
|
9
|
+
"stylelint-high-performance-animation"
|
|
10
|
+
],
|
|
7
11
|
extends: [
|
|
8
12
|
"stylelint-config-standard-scss",
|
|
9
13
|
"stylelint-config-recess-order",
|
|
@@ -34,10 +38,13 @@ export default {
|
|
|
34
38
|
ignoreAtRules: ["if", "else"]
|
|
35
39
|
}
|
|
36
40
|
],
|
|
41
|
+
"scss/at-mixin-no-risky-nesting-selector": true,
|
|
37
42
|
"scss/at-mixin-argumentless-call-parentheses": "never",
|
|
43
|
+
"scss/at-root-no-redundant": true,
|
|
38
44
|
"scss/at-use-no-unnamespaced": true,
|
|
39
45
|
"scss/at-use-no-redundant-alias": true,
|
|
40
46
|
"scss/block-no-redundant-nesting": true,
|
|
47
|
+
"scss/declaration-property-value-no-unknown": true,
|
|
41
48
|
"scss/dimension-no-non-numeric-values": true,
|
|
42
49
|
"scss/dollar-variable-first-in-block": [
|
|
43
50
|
true,
|
|
@@ -46,12 +53,16 @@ export default {
|
|
|
46
53
|
}
|
|
47
54
|
],
|
|
48
55
|
"scss/dollar-variable-no-namespaced-assignment": true,
|
|
56
|
+
"scss/double-slash-comment-inline": "never",
|
|
49
57
|
"scss/function-calculation-no-interpolation": true,
|
|
50
58
|
"scss/function-color-relative": true,
|
|
51
59
|
"scss/map-keys-quotes": "always",
|
|
52
60
|
"scss/no-duplicate-dollar-variables": true,
|
|
61
|
+
"scss/no-duplicate-load-rules": true,
|
|
53
62
|
"scss/property-no-unknown": true,
|
|
54
63
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
55
|
-
"scss/selector-no-union-class-name": true
|
|
64
|
+
"scss/selector-no-union-class-name": true,
|
|
65
|
+
"plugin/use-baseline": [true, { available: "newly" }],
|
|
66
|
+
"plugin/no-low-performance-animation-properties": true
|
|
56
67
|
}
|
|
57
68
|
};
|