stylelint-config-sweet 6.2.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 +14 -16
- package/stylelint.config.js +12 -3
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",
|
|
@@ -21,27 +21,25 @@
|
|
|
21
21
|
"start": "vitest"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@isnotdefined/stylelint-plugin": "^6.0.0",
|
|
25
24
|
"@stylistic/stylelint-config": "^3.0.1",
|
|
26
|
-
"postcss-html": "^1.8.
|
|
25
|
+
"postcss-html": "^1.8.1",
|
|
27
26
|
"stylelint-config-html": "^1.1.0",
|
|
28
|
-
"stylelint-config-recess-order": "^7.
|
|
29
|
-
"stylelint-config-standard-scss": "^
|
|
30
|
-
"stylelint-
|
|
27
|
+
"stylelint-config-recess-order": "^7.4.0",
|
|
28
|
+
"stylelint-config-standard-scss": "^16.0.0",
|
|
29
|
+
"stylelint-high-performance-animation": "^1.11.0",
|
|
30
|
+
"stylelint-order": "^7.0.1",
|
|
31
|
+
"stylelint-plugin-use-baseline": "^1.1.6"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@vitest/eslint-plugin": "^1.
|
|
34
|
-
"eslint": "^9.
|
|
35
|
-
"eslint-config-sweet": "^
|
|
34
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
35
|
+
"eslint": "^9.39.2",
|
|
36
|
+
"eslint-config-sweet": "^30.0.0",
|
|
36
37
|
"robins-tsconfig": "^2.0.0",
|
|
37
|
-
"stylelint": "^16.
|
|
38
|
-
"typescript": "^5.9.
|
|
39
|
-
"vitest": "^
|
|
38
|
+
"stylelint": "^16.26.1",
|
|
39
|
+
"typescript": "^5.9.3",
|
|
40
|
+
"vitest": "^4.0.17"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
|
-
"stylelint": "^16.
|
|
43
|
-
},
|
|
44
|
-
"engines": {
|
|
45
|
-
"node": "^22"
|
|
43
|
+
"stylelint": "^16.26.1"
|
|
46
44
|
}
|
|
47
45
|
}
|
package/stylelint.config.js
CHANGED
|
@@ -4,13 +4,16 @@ 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",
|
|
10
14
|
"@stylistic/stylelint-config",
|
|
11
15
|
"stylelint-config-html"
|
|
12
16
|
],
|
|
13
|
-
plugins: ["@isnotdefined/stylelint-plugin"],
|
|
14
17
|
rules: {
|
|
15
18
|
"color-named": "never",
|
|
16
19
|
"property-no-unknown": null,
|
|
@@ -29,17 +32,19 @@ export default {
|
|
|
29
32
|
message: "Avoid the \":focus\" pseudo-class. Use \":focus-visible\" instead."
|
|
30
33
|
}
|
|
31
34
|
],
|
|
32
|
-
"@isnotdefined/no-obsolete": true,
|
|
33
35
|
"@stylistic/block-closing-brace-newline-after": [
|
|
34
36
|
"always",
|
|
35
37
|
{
|
|
36
38
|
ignoreAtRules: ["if", "else"]
|
|
37
39
|
}
|
|
38
40
|
],
|
|
41
|
+
"scss/at-mixin-no-risky-nesting-selector": true,
|
|
39
42
|
"scss/at-mixin-argumentless-call-parentheses": "never",
|
|
43
|
+
"scss/at-root-no-redundant": true,
|
|
40
44
|
"scss/at-use-no-unnamespaced": true,
|
|
41
45
|
"scss/at-use-no-redundant-alias": true,
|
|
42
46
|
"scss/block-no-redundant-nesting": true,
|
|
47
|
+
"scss/declaration-property-value-no-unknown": true,
|
|
43
48
|
"scss/dimension-no-non-numeric-values": true,
|
|
44
49
|
"scss/dollar-variable-first-in-block": [
|
|
45
50
|
true,
|
|
@@ -48,12 +53,16 @@ export default {
|
|
|
48
53
|
}
|
|
49
54
|
],
|
|
50
55
|
"scss/dollar-variable-no-namespaced-assignment": true,
|
|
56
|
+
"scss/double-slash-comment-inline": "never",
|
|
51
57
|
"scss/function-calculation-no-interpolation": true,
|
|
52
58
|
"scss/function-color-relative": true,
|
|
53
59
|
"scss/map-keys-quotes": "always",
|
|
54
60
|
"scss/no-duplicate-dollar-variables": true,
|
|
61
|
+
"scss/no-duplicate-load-rules": true,
|
|
55
62
|
"scss/property-no-unknown": true,
|
|
56
63
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
57
|
-
"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
|
|
58
67
|
}
|
|
59
68
|
};
|