@icebreakers/stylelint-config 0.0.4 → 0.1.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.cjs +15 -1
- package/dist/index.js +15 -1
- 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,6 +119,19 @@ function createDefaultConfig() {
|
|
|
118
119
|
{
|
|
119
120
|
ignoreUnits: ["rpx"]
|
|
120
121
|
}
|
|
122
|
+
],
|
|
123
|
+
"scss/selector-no-redundant-nesting-selector": true,
|
|
124
|
+
"scss/at-rule-no-unknown": [
|
|
125
|
+
true,
|
|
126
|
+
{
|
|
127
|
+
ignoreAtRules: [
|
|
128
|
+
// tailwindcss
|
|
129
|
+
"tailwind",
|
|
130
|
+
"config",
|
|
131
|
+
// unocss
|
|
132
|
+
"unocss"
|
|
133
|
+
]
|
|
134
|
+
}
|
|
121
135
|
]
|
|
122
136
|
}
|
|
123
137
|
};
|
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,6 +101,19 @@ function createDefaultConfig() {
|
|
|
100
101
|
{
|
|
101
102
|
ignoreUnits: ["rpx"]
|
|
102
103
|
}
|
|
104
|
+
],
|
|
105
|
+
"scss/selector-no-redundant-nesting-selector": true,
|
|
106
|
+
"scss/at-rule-no-unknown": [
|
|
107
|
+
true,
|
|
108
|
+
{
|
|
109
|
+
ignoreAtRules: [
|
|
110
|
+
// tailwindcss
|
|
111
|
+
"tailwind",
|
|
112
|
+
"config",
|
|
113
|
+
// unocss
|
|
114
|
+
"unocss"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
103
117
|
]
|
|
104
118
|
}
|
|
105
119
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/stylelint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
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"
|