stylelint-config-sweet 5.0.0 → 6.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 +44 -38
- package/stylelint.config.js +29 -20
package/package.json
CHANGED
|
@@ -1,40 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
2
|
+
"name": "stylelint-config-sweet",
|
|
3
|
+
"version": "6.0.0",
|
|
4
|
+
"description": "Stylelint extendable config for the most sweet-ass CSS and Sass. 🤙🏼",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"stylelint",
|
|
7
|
+
"stylelint-config"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/robinloeffel/stylelint-config-sweet",
|
|
10
|
+
"bugs": "https://github.com/robinloeffel/stylelint-config-sweet/issues",
|
|
11
|
+
"repository": "https://github.com/robinloeffel/stylelint-config-sweet.git",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": "Robin Löffel (https://robinloeffel.ch) <hi@robinloeffel.ch>",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "stylelint.config.js",
|
|
16
|
+
"types": "stylelint.config.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"stylelint.config.js"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"start": "vitest"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@isnotdefined/stylelint-plugin": "^6.0.0",
|
|
25
|
+
"@stylistic/stylelint-config": "^2.0.0",
|
|
26
|
+
"stylelint-config-html": "^1.1.0",
|
|
27
|
+
"stylelint-config-recess-order": "^7.1.0",
|
|
28
|
+
"stylelint-config-standard-scss": "^15.0.1",
|
|
29
|
+
"stylelint-order": "^7.0.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
33
|
+
"eslint": "^9.30.1",
|
|
34
|
+
"eslint-config-sweet": "^27.0.0",
|
|
35
|
+
"robins-tsconfig": "^2.0.0",
|
|
36
|
+
"stylelint": "^16.21.1",
|
|
37
|
+
"typescript": "^5.8.3",
|
|
38
|
+
"vitest": "^3.2.4"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"stylelint": "^16"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": "^22"
|
|
45
|
+
}
|
|
40
46
|
}
|
package/stylelint.config.js
CHANGED
|
@@ -1,43 +1,52 @@
|
|
|
1
|
-
/* eslint 'unicorn/no-null': 'off' */
|
|
2
|
-
|
|
3
1
|
/** @type {import("stylelint").Config} */
|
|
4
2
|
export default {
|
|
5
3
|
reportNeedlessDisables: true,
|
|
6
4
|
reportInvalidScopeDisables: true,
|
|
7
5
|
reportDescriptionlessDisables: true,
|
|
6
|
+
reportUnscopedDisables: true,
|
|
8
7
|
extends: [
|
|
9
8
|
"stylelint-config-standard-scss",
|
|
10
9
|
"stylelint-config-recess-order",
|
|
11
10
|
"@stylistic/stylelint-config",
|
|
12
11
|
"stylelint-config-html"
|
|
13
12
|
],
|
|
14
|
-
plugins: [
|
|
15
|
-
"@isnotdefined/stylelint-plugin"
|
|
16
|
-
],
|
|
13
|
+
plugins: ["@isnotdefined/stylelint-plugin"],
|
|
17
14
|
rules: {
|
|
18
15
|
"color-named": "never",
|
|
19
16
|
"property-no-unknown": null,
|
|
20
|
-
"declaration-property-value-disallowed-list": [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
"declaration-property-value-disallowed-list": [
|
|
18
|
+
{
|
|
19
|
+
transition: "/all/"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
message: "Avoid using \"all\" in transition declarations. Be more specific."
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"selector-disallowed-list": [
|
|
26
|
+
"/:focus(?!-.*)/",
|
|
27
|
+
{
|
|
28
|
+
splitList: true,
|
|
29
|
+
message: "Avoid the \":focus\" pseudo-class. Use \":focus-visible\" instead."
|
|
30
|
+
}
|
|
31
|
+
],
|
|
29
32
|
"@isnotdefined/no-obsolete": true,
|
|
30
|
-
"@stylistic/block-closing-brace-newline-after": [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
"@stylistic/block-closing-brace-newline-after": [
|
|
34
|
+
"always",
|
|
35
|
+
{
|
|
36
|
+
ignoreAtRules: ["if", "else"]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
33
39
|
"scss/at-mixin-argumentless-call-parentheses": "never",
|
|
34
40
|
"scss/at-use-no-unnamespaced": true,
|
|
35
41
|
"scss/at-use-no-redundant-alias": true,
|
|
36
42
|
"scss/block-no-redundant-nesting": true,
|
|
37
43
|
"scss/dimension-no-non-numeric-values": true,
|
|
38
|
-
"scss/dollar-variable-first-in-block": [
|
|
39
|
-
|
|
40
|
-
|
|
44
|
+
"scss/dollar-variable-first-in-block": [
|
|
45
|
+
true,
|
|
46
|
+
{
|
|
47
|
+
ignore: ["comments", "imports"]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
41
50
|
"scss/dollar-variable-no-namespaced-assignment": true,
|
|
42
51
|
"scss/function-calculation-no-interpolation": true,
|
|
43
52
|
"scss/function-color-relative": true,
|