@pengzhanbo/stylelint-config 1.6.0 → 1.7.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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -693,7 +693,7 @@ function stylelintConfig(options = {}, userConfig = {}) {
|
|
|
693
693
|
]);
|
|
694
694
|
config.plugins = (0, import_utils.uniq)([
|
|
695
695
|
"stylelint-order",
|
|
696
|
-
"stylelint-
|
|
696
|
+
"@stylistic/stylelint-plugin",
|
|
697
697
|
...(0, import_utils.toArray)(config.plugins)
|
|
698
698
|
]);
|
|
699
699
|
config.ignoreFiles = (0, import_utils.uniq)([
|
|
@@ -716,7 +716,7 @@ function stylelintConfig(options = {}, userConfig = {}) {
|
|
|
716
716
|
}
|
|
717
717
|
if (stylistic) {
|
|
718
718
|
;
|
|
719
|
-
config.plugins.push("stylelint-
|
|
719
|
+
config.plugins.push("@stylistic/stylelint-plugin");
|
|
720
720
|
config.rules = {
|
|
721
721
|
...config.rules,
|
|
722
722
|
...stylisticRules
|
package/dist/index.js
CHANGED
|
@@ -656,7 +656,7 @@ function stylelintConfig(options = {}, userConfig = {}) {
|
|
|
656
656
|
]);
|
|
657
657
|
config.plugins = uniq([
|
|
658
658
|
"stylelint-order",
|
|
659
|
-
"stylelint-
|
|
659
|
+
"@stylistic/stylelint-plugin",
|
|
660
660
|
...toArray(config.plugins)
|
|
661
661
|
]);
|
|
662
662
|
config.ignoreFiles = uniq([
|
|
@@ -679,7 +679,7 @@ function stylelintConfig(options = {}, userConfig = {}) {
|
|
|
679
679
|
}
|
|
680
680
|
if (stylistic) {
|
|
681
681
|
;
|
|
682
|
-
config.plugins.push("stylelint-
|
|
682
|
+
config.plugins.push("@stylistic/stylelint-plugin");
|
|
683
683
|
config.rules = {
|
|
684
684
|
...config.rules,
|
|
685
685
|
...stylisticRules
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pengzhanbo/stylelint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.7.0",
|
|
5
5
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github/pengzhanbo/)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/pengzhanbo/configs#readme",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"stylelint": ">=16.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@pengzhanbo/utils": "^1.1.
|
|
39
|
+
"@pengzhanbo/utils": "^1.1.2",
|
|
40
40
|
"@stylelint-types/stylelint-order": "^6.0.4",
|
|
41
41
|
"@stylelint-types/stylelint-scss": "^6.1.0",
|
|
42
42
|
"@stylelint-types/stylelint-stylistic": "^2.1.0",
|