@alexlit/config-stylelint 38.7.1 → 40.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/README.md +4 -3
- package/index.js +22 -25
- package/package.json +14 -10
- package/plugins/a11y.js +1 -1
- package/plugins/at-rule-no-children.js +1 -1
- package/plugins/color-format.js +1 -1
- package/plugins/declaration-block-no-ignored-properties.js +1 -1
- package/plugins/high-performance-animation.js +1 -1
- package/plugins/no-nested-media.js +1 -1
- package/plugins/no-unresolved-module.js +1 -1
- package/plugins/no-unsupported-browser-features.js +1 -1
- package/plugins/optional/gamut.js +1 -1
- package/plugins/optional/logical-css.js +1 -1
- package/plugins/optional/no-indistinguishable-colors.js +1 -1
- package/plugins/order.js +1 -1
- package/plugins/prettier.js +1 -1
- package/plugins/scss.js +1 -1
- package/plugins/selector-no-empty.js +1 -1
- package/plugins/use-nesting.js +1 -1
- package/plugins/vue.js +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,9 @@ npm i @alexlit/config-stylelint -D
|
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
12
|
// .stylelintrc.js
|
|
13
|
-
|
|
13
|
+
import config from '@alexlit/config-stylelint';
|
|
14
|
+
|
|
15
|
+
export default {
|
|
14
16
|
extends: [
|
|
15
17
|
'@alexlit/config-stylelint',
|
|
16
18
|
|
|
@@ -19,8 +21,7 @@ module.exports = {
|
|
|
19
21
|
'@alexlit/config-stylelint/plugins/optional/no-indistinguishable-colors',
|
|
20
22
|
'@alexlit/config-stylelint/plugins/optional/logical-css',
|
|
21
23
|
],
|
|
22
|
-
|
|
23
|
-
ignoreFiles: [...require('@alexlit/config-stylelint').ignoreFiles],
|
|
24
|
+
ignoreFiles: [...config.ignoreFiles],
|
|
24
25
|
};
|
|
25
26
|
```
|
|
26
27
|
|
package/index.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/* eslint-disable sonarjs/no-duplicate-string, unicorn/no-null */
|
|
2
|
-
|
|
2
|
+
export default {
|
|
3
3
|
extends: [
|
|
4
4
|
'stylelint-config-standard',
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
].map((config) => require.resolve(config)),
|
|
5
|
+
|
|
6
|
+
// './plugins/a11y',
|
|
7
|
+
'./plugins/at-rule-no-children',
|
|
8
|
+
'./plugins/color-format',
|
|
9
|
+
'./plugins/declaration-block-no-ignored-properties',
|
|
10
|
+
// './plugins/high-performance-animation',
|
|
11
|
+
'./plugins/no-nested-media',
|
|
12
|
+
'./plugins/no-unresolved-module',
|
|
13
|
+
'./plugins/no-unsupported-browser-features',
|
|
14
|
+
'./plugins/order',
|
|
15
|
+
'./plugins/scss',
|
|
16
|
+
'./plugins/selector-no-empty',
|
|
17
|
+
// './plugins/use-nesting',
|
|
18
|
+
'./plugins/vue',
|
|
19
|
+
|
|
20
|
+
'./plugins/prettier',
|
|
21
|
+
|
|
22
|
+
// optional
|
|
23
|
+
// './plugins/gamut',
|
|
24
|
+
// './plugins/no-indistinguishable-colors',
|
|
25
|
+
// './plugins/optional/logical-css',
|
|
27
26
|
],
|
|
28
27
|
|
|
29
28
|
ignoreFiles: [
|
|
@@ -80,7 +79,6 @@ module.exports = {
|
|
|
80
79
|
'function-url-quotes': 'always',
|
|
81
80
|
'function-url-scheme-disallowed-list': ['/^data/', 'ftp', '/^http/'],
|
|
82
81
|
'hue-degree-notation': 'angle',
|
|
83
|
-
indentation: null,
|
|
84
82
|
'keyframes-name-pattern': '^[a-z]+(-[a-z]+)*$',
|
|
85
83
|
|
|
86
84
|
'max-nesting-depth': [
|
|
@@ -94,7 +92,6 @@ module.exports = {
|
|
|
94
92
|
'media-feature-name-no-vendor-prefix': true,
|
|
95
93
|
'no-descending-specificity': null,
|
|
96
94
|
'no-empty-source': null,
|
|
97
|
-
'no-missing-end-of-source-newline': null,
|
|
98
95
|
'no-unknown-animations': true,
|
|
99
96
|
'number-max-precision': 3,
|
|
100
97
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "40.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"maintainers": [
|
|
22
22
|
"Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
|
|
23
23
|
],
|
|
24
|
+
"type": "module",
|
|
24
25
|
"main": "index.js",
|
|
25
26
|
"files": [
|
|
26
27
|
"README.md",
|
|
@@ -32,28 +33,31 @@
|
|
|
32
33
|
"up": "../../scripts/up.sh"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@double-great/stylelint-a11y": "^
|
|
36
|
+
"@double-great/stylelint-a11y": "^3.0.0",
|
|
36
37
|
"postcss": "^8.4.32",
|
|
37
38
|
"postcss-html": "^1.5.0",
|
|
38
|
-
"prettier": "^3.1.
|
|
39
|
-
"stylelint": "^
|
|
39
|
+
"prettier": "^3.1.1",
|
|
40
|
+
"stylelint": "^16.1.0",
|
|
40
41
|
"stylelint-at-rule-no-children": "^0.3.1",
|
|
41
42
|
"stylelint-color-format": "^1.1.0",
|
|
42
43
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
43
|
-
"stylelint-config-standard": "^
|
|
44
|
-
"stylelint-config-standard-scss": "^
|
|
44
|
+
"stylelint-config-standard": "^36.0.0",
|
|
45
|
+
"stylelint-config-standard-scss": "^12.0.0",
|
|
45
46
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
46
|
-
"stylelint-gamut": "^1.3.
|
|
47
|
+
"stylelint-gamut": "^1.3.4",
|
|
47
48
|
"stylelint-high-performance-animation": "^1.9.0",
|
|
48
49
|
"stylelint-no-indistinguishable-colors": "^1.3.2",
|
|
49
50
|
"stylelint-no-nested-media": "^0.1.0",
|
|
50
51
|
"stylelint-no-unresolved-module": "^2.2.1",
|
|
51
52
|
"stylelint-no-unsupported-browser-features": "^7.0.0",
|
|
52
|
-
"stylelint-order": "^6.0.
|
|
53
|
+
"stylelint-order": "^6.0.4",
|
|
53
54
|
"stylelint-plugin-logical-css": "^0.13.2",
|
|
54
|
-
"stylelint-prettier": "^
|
|
55
|
-
"stylelint-scss": "^
|
|
55
|
+
"stylelint-prettier": "^5.0.0",
|
|
56
|
+
"stylelint-scss": "^6.0.0",
|
|
56
57
|
"stylelint-selector-no-empty": "^1.0.9",
|
|
57
58
|
"stylelint-use-nesting": "^4.1.0"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=18.12.0"
|
|
58
62
|
}
|
|
59
63
|
}
|
package/plugins/a11y.js
CHANGED
package/plugins/color-format.js
CHANGED
package/plugins/order.js
CHANGED
package/plugins/prettier.js
CHANGED
package/plugins/scss.js
CHANGED
package/plugins/use-nesting.js
CHANGED
package/plugins/vue.js
CHANGED