@icebreakers/stylelint-config 0.0.4 → 0.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/dist/index.cjs +4 -2
- package/dist/index.js +4 -2
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -100,7 +100,8 @@ function createDefaultConfig() {
|
|
|
100
100
|
"stylelint-config-standard-scss",
|
|
101
101
|
// https://github.com/ota-meshi/stylelint-config-recommended-vue/blob/main/lib/index.js
|
|
102
102
|
// https://github.com/ota-meshi/stylelint-config-recommended-vue/blob/main/scss/index.js
|
|
103
|
-
"stylelint-config-recommended-vue/scss"
|
|
103
|
+
"stylelint-config-recommended-vue/scss",
|
|
104
|
+
"stylelint-config-recess-order"
|
|
104
105
|
],
|
|
105
106
|
// .map(module => require.resolve(module)),
|
|
106
107
|
overrides: [
|
|
@@ -118,7 +119,8 @@ function createDefaultConfig() {
|
|
|
118
119
|
{
|
|
119
120
|
ignoreUnits: ["rpx"]
|
|
120
121
|
}
|
|
121
|
-
]
|
|
122
|
+
],
|
|
123
|
+
"scss/selector-no-redundant-nesting-selector": true
|
|
122
124
|
}
|
|
123
125
|
};
|
|
124
126
|
}
|
package/dist/index.js
CHANGED
|
@@ -82,7 +82,8 @@ function createDefaultConfig() {
|
|
|
82
82
|
"stylelint-config-standard-scss",
|
|
83
83
|
// https://github.com/ota-meshi/stylelint-config-recommended-vue/blob/main/lib/index.js
|
|
84
84
|
// https://github.com/ota-meshi/stylelint-config-recommended-vue/blob/main/scss/index.js
|
|
85
|
-
"stylelint-config-recommended-vue/scss"
|
|
85
|
+
"stylelint-config-recommended-vue/scss",
|
|
86
|
+
"stylelint-config-recess-order"
|
|
86
87
|
],
|
|
87
88
|
// .map(module => require.resolve(module)),
|
|
88
89
|
overrides: [
|
|
@@ -100,7 +101,8 @@ function createDefaultConfig() {
|
|
|
100
101
|
{
|
|
101
102
|
ignoreUnits: ["rpx"]
|
|
102
103
|
}
|
|
103
|
-
]
|
|
104
|
+
],
|
|
105
|
+
"scss/selector-no-redundant-nesting-selector": true
|
|
104
106
|
}
|
|
105
107
|
};
|
|
106
108
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/stylelint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"description": "icebreaker's stylelint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"comment-json": "^4.2.5",
|
|
37
37
|
"postcss-html": "^1.7.0",
|
|
38
|
+
"stylelint-config-recess-order": "^5.1.1",
|
|
38
39
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
39
40
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
40
41
|
"stylelint-config-standard-scss": "^13.1.0"
|