@pengzhanbo/stylelint-config 2.4.0 → 2.4.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/dist/index.mjs +8 -2
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -146,7 +146,12 @@ const orderRules = {
|
|
|
146
146
|
}
|
|
147
147
|
], { severity: "warning" }],
|
|
148
148
|
"order/properties-order": [[
|
|
149
|
-
{
|
|
149
|
+
{
|
|
150
|
+
/**
|
|
151
|
+
* Compose rules from other selectors in CSS Modules.
|
|
152
|
+
* @see https://github.com/css-modules/css-modules#composition
|
|
153
|
+
*/
|
|
154
|
+
properties: ["composes"] },
|
|
150
155
|
{ properties: ["all"] },
|
|
151
156
|
{ properties: [
|
|
152
157
|
"position",
|
|
@@ -539,7 +544,8 @@ const orderRules = {
|
|
|
539
544
|
unspecified: "bottomAlphabetical",
|
|
540
545
|
emptyLineBeforeUnspecified: "always",
|
|
541
546
|
emptyLineMinimumPropertyThreshold: 5
|
|
542
|
-
}]
|
|
547
|
+
}],
|
|
548
|
+
"order/custom-properties-alphabetical-order": null
|
|
543
549
|
};
|
|
544
550
|
//#endregion
|
|
545
551
|
//#region src/rules/stylistic.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pengzhanbo/stylelint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github/pengzhanbo/)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/pengzhanbo/configs#readme",
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"stylelint": "^17.
|
|
25
|
+
"stylelint": "^17.11.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@pengzhanbo/utils": "^3.
|
|
29
|
-
"@stylelint-types/stylelint-order": "^
|
|
30
|
-
"@stylelint-types/stylelint-scss": "^7.0.
|
|
31
|
-
"@stylelint-types/stylelint-stylistic": "^5.
|
|
28
|
+
"@pengzhanbo/utils": "^3.6.0",
|
|
29
|
+
"@stylelint-types/stylelint-order": "^8.1.1",
|
|
30
|
+
"@stylelint-types/stylelint-scss": "^7.0.1",
|
|
31
|
+
"@stylelint-types/stylelint-stylistic": "^5.1.0",
|
|
32
32
|
"@stylistic/stylelint-plugin": "^5.1.0",
|
|
33
33
|
"local-pkg": "^1.1.2",
|
|
34
|
-
"postcss": "^8.5.
|
|
34
|
+
"postcss": "^8.5.14",
|
|
35
35
|
"postcss-html": "^1.8.1",
|
|
36
36
|
"stylelint-config-html": "^1.1.0",
|
|
37
37
|
"stylelint-config-standard": "^40.0.0",
|
|
38
38
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
39
|
-
"stylelint-define-config": "^17.
|
|
39
|
+
"stylelint-define-config": "^17.11.0",
|
|
40
40
|
"stylelint-order": "^8.1.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"stylelint": "^17.
|
|
43
|
+
"stylelint": "^17.11.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|