@alexlit/config-stylelint 38.0.0 → 38.1.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 +2 -7
- package/index.js +0 -1
- package/package.json +2 -2
- package/plugins/optional/logical-css.js +7 -1
- package/plugins/optional/use-logical-spec.js +0 -8
package/README.md
CHANGED
|
@@ -15,8 +15,9 @@ module.exports = {
|
|
|
15
15
|
'@alexlit/config-stylelint',
|
|
16
16
|
|
|
17
17
|
/* optional */
|
|
18
|
+
'@alexlit/config-stylelint/plugins/optional/gamut',
|
|
18
19
|
'@alexlit/config-stylelint/plugins/optional/no-indistinguishable-colors',
|
|
19
|
-
'@alexlit/config-stylelint/plugins/optional/
|
|
20
|
+
'@alexlit/config-stylelint/plugins/optional/logical-css',
|
|
20
21
|
],
|
|
21
22
|
|
|
22
23
|
ignoreFiles: [...require('@alexlit/config-stylelint').ignoreFiles],
|
|
@@ -30,9 +31,3 @@ module.exports = {
|
|
|
30
31
|
```sh
|
|
31
32
|
npx stylelint-find-new-rules
|
|
32
33
|
```
|
|
33
|
-
|
|
34
|
-
- Check rules that are in conflict with Prettier
|
|
35
|
-
|
|
36
|
-
```sh
|
|
37
|
-
npx stylelint-config-prettier-check
|
|
38
|
-
```
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"files": [
|
|
26
|
+
"README.md",
|
|
26
27
|
"index.js",
|
|
27
28
|
"plugins"
|
|
28
29
|
],
|
|
@@ -53,7 +54,6 @@
|
|
|
53
54
|
"stylelint-prettier": "^4.0.2",
|
|
54
55
|
"stylelint-scss": "^5.2.1",
|
|
55
56
|
"stylelint-selector-no-empty": "^1.0.9",
|
|
56
|
-
"stylelint-use-logical-spec": "^5.0.0",
|
|
57
57
|
"stylelint-use-nesting": "^4.1.0"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -3,7 +3,13 @@ module.exports = {
|
|
|
3
3
|
plugins: ['stylelint-plugin-logical-css'],
|
|
4
4
|
|
|
5
5
|
rules: {
|
|
6
|
-
'plugin/use-logical-properties-and-values': [
|
|
6
|
+
'plugin/use-logical-properties-and-values': [
|
|
7
|
+
true,
|
|
8
|
+
{
|
|
9
|
+
ignore: ['overflow-y', 'overflow-x'],
|
|
10
|
+
severity: 'warning',
|
|
11
|
+
},
|
|
12
|
+
],
|
|
7
13
|
|
|
8
14
|
'plugin/use-logical-units': [true, { severity: 'warning' }],
|
|
9
15
|
},
|