@firefoxic/stylelint-config 5.0.0 → 6.0.1
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 +51 -56
- package/stylelint.config.js +9 -37
package/package.json
CHANGED
|
@@ -1,57 +1,52 @@
|
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"preversion": "pnpm test",
|
|
54
|
-
"version": "update-changelog",
|
|
55
|
-
"postversion": "pnpm publish --provenance --access public --no-git-checks"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
2
|
+
"name": "@firefoxic/stylelint-config",
|
|
3
|
+
"description": "Shared config for stylelint by firefoxic.",
|
|
4
|
+
"version": "6.0.1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Sergey Artemov",
|
|
8
|
+
"email": "firefoxic.dev@gmail.com"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/firefoxic/stylelint-config#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/firefoxic/stylelint-config/issues"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/firefoxic/stylelint-config.git"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"exports": "./stylelint.config.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"./stylelint.config.js"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=20.19",
|
|
25
|
+
"pnpm": ">=10.30"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"stylelint": "^17.1.0"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@stylistic/stylelint-plugin": "^5.0.1",
|
|
32
|
+
"stylelint-gamut": "^2.0.0",
|
|
33
|
+
"stylelint-plugin-logical-css": "^2.0.2"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"help": "make help"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@firefoxic/oxlint-config": "^0.1.3",
|
|
40
|
+
"oxlint": "^1.50.0",
|
|
41
|
+
"stylelint": "^17.1.0"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"config",
|
|
45
|
+
"css",
|
|
46
|
+
"lint",
|
|
47
|
+
"linter",
|
|
48
|
+
"linting",
|
|
49
|
+
"style",
|
|
50
|
+
"stylelint"
|
|
51
|
+
]
|
|
52
|
+
}
|
package/stylelint.config.js
CHANGED
|
@@ -11,25 +11,19 @@ export default {
|
|
|
11
11
|
`always`,
|
|
12
12
|
{
|
|
13
13
|
except: [
|
|
14
|
-
`first-nested`,
|
|
15
14
|
`blockless-after-same-name-blockless`,
|
|
15
|
+
`first-nested`,
|
|
16
16
|
],
|
|
17
17
|
ignore: [`after-comment`],
|
|
18
18
|
},
|
|
19
19
|
],
|
|
20
20
|
"at-rule-no-unknown": true,
|
|
21
21
|
"at-rule-no-vendor-prefix": true,
|
|
22
|
-
"block-no-empty":
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
ignore: [`comments`],
|
|
26
|
-
},
|
|
27
|
-
],
|
|
22
|
+
"block-no-empty": true,
|
|
23
|
+
"color-function-alias-notation": `without-alpha`,
|
|
28
24
|
"color-function-notation": `modern`,
|
|
29
|
-
"color-hex-alpha": `never`,
|
|
30
|
-
"color-hex-length": `long`,
|
|
31
25
|
"color-named": `never`,
|
|
32
|
-
"color-no-
|
|
26
|
+
"color-no-hex": true,
|
|
33
27
|
"comment-no-empty": true,
|
|
34
28
|
"custom-property-no-missing-var-function": true,
|
|
35
29
|
"declaration-block-no-duplicate-custom-properties": true,
|
|
@@ -37,30 +31,8 @@ export default {
|
|
|
37
31
|
"declaration-block-no-shorthand-property-overrides": true,
|
|
38
32
|
"declaration-block-single-line-max-declarations": 0,
|
|
39
33
|
"declaration-no-important": true,
|
|
40
|
-
"declaration-property-value-
|
|
41
|
-
|
|
42
|
-
`inline-block`,
|
|
43
|
-
`inline-table`,
|
|
44
|
-
`inline-flex`,
|
|
45
|
-
`inline-grid`,
|
|
46
|
-
`inline`,
|
|
47
|
-
`block`,
|
|
48
|
-
`flex`,
|
|
49
|
-
`grid`,
|
|
50
|
-
`table`,
|
|
51
|
-
`list-item`,
|
|
52
|
-
`flow-root`,
|
|
53
|
-
],
|
|
54
|
-
},
|
|
55
|
-
"declaration-property-value-no-unknown": [
|
|
56
|
-
true,
|
|
57
|
-
// See: https://github.com/stylelint/stylelint/issues/7241
|
|
58
|
-
{
|
|
59
|
-
typesSyntax: {
|
|
60
|
-
color: `| oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )`,
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
],
|
|
34
|
+
"declaration-property-value-no-unknown": true,
|
|
35
|
+
"display-notation": `full`,
|
|
64
36
|
"font-family-name-quotes": `always-where-required`,
|
|
65
37
|
"font-family-no-duplicate-names": [
|
|
66
38
|
true,
|
|
@@ -134,8 +106,9 @@ export default {
|
|
|
134
106
|
"value-keyword-case": `lower`,
|
|
135
107
|
"value-no-vendor-prefix": true,
|
|
136
108
|
|
|
137
|
-
"
|
|
138
|
-
"
|
|
109
|
+
"logical-css/require-logical-keywords": true,
|
|
110
|
+
"logical-css/require-logical-properties": true,
|
|
111
|
+
"logical-css/require-logical-units": true,
|
|
139
112
|
|
|
140
113
|
"gamut/color-no-out-gamut-range": true,
|
|
141
114
|
|
|
@@ -150,7 +123,6 @@ export default {
|
|
|
150
123
|
"@stylistic/block-opening-brace-newline-after": `always`,
|
|
151
124
|
"@stylistic/block-opening-brace-space-after": `always-single-line`,
|
|
152
125
|
"@stylistic/block-opening-brace-space-before": `always`,
|
|
153
|
-
"@stylistic/color-hex-case": `lower`,
|
|
154
126
|
"@stylistic/declaration-bang-space-after": `never`,
|
|
155
127
|
"@stylistic/declaration-bang-space-before": `always`,
|
|
156
128
|
"@stylistic/declaration-block-semicolon-newline-after": `always`,
|