@icebreakers/stylelint-config 1.0.0 → 1.0.2
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/{chunk-X6JULR6X.js → chunk-ZP37ULDP.js} +4 -2
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +4 -4
- package/dist/index.cjs +22 -7
- package/dist/index.js +23 -8
- package/package.json +3 -3
|
@@ -27,9 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.19.4_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/esm_shims.js
|
|
31
|
+
import path from "path";
|
|
32
|
+
import { fileURLToPath } from "url";
|
|
31
33
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.19.4_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
35
|
"use strict";
|
|
34
36
|
}
|
|
35
37
|
});
|
package/dist/cli.cjs
CHANGED
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
31
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.19.4_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
|
|
32
32
|
var init_cjs_shims = __esm({
|
|
33
|
-
"../../node_modules/.pnpm/tsup@8.
|
|
33
|
+
"../../node_modules/.pnpm/tsup@8.5.0_jiti@2.4.2_postcss@8.5.3_tsx@4.19.4_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
34
34
|
"use strict";
|
|
35
35
|
}
|
|
36
36
|
});
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__toESM,
|
|
4
4
|
init_esm_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZP37ULDP.js";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js
|
|
8
8
|
var require_is_primitive = __commonJS({
|
|
@@ -185,9 +185,9 @@ var require_set_value = __commonJS({
|
|
|
185
185
|
|
|
186
186
|
// src/cli.ts
|
|
187
187
|
init_esm_shims();
|
|
188
|
-
import fs from "
|
|
189
|
-
import { resolve } from "
|
|
190
|
-
import process from "
|
|
188
|
+
import fs from "fs";
|
|
189
|
+
import { resolve } from "path";
|
|
190
|
+
import process from "process";
|
|
191
191
|
import jsonc from "comment-json";
|
|
192
192
|
|
|
193
193
|
// src/shared.ts
|
package/dist/index.cjs
CHANGED
|
@@ -93,6 +93,21 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
93
93
|
});
|
|
94
94
|
|
|
95
95
|
// src/index.ts
|
|
96
|
+
var ignoreAtRules = [
|
|
97
|
+
// tailwindcss
|
|
98
|
+
"tailwind",
|
|
99
|
+
"theme",
|
|
100
|
+
"apply",
|
|
101
|
+
"source",
|
|
102
|
+
"utility",
|
|
103
|
+
"variant",
|
|
104
|
+
"custom-variant",
|
|
105
|
+
"reference",
|
|
106
|
+
"config",
|
|
107
|
+
"plugin",
|
|
108
|
+
// unocss
|
|
109
|
+
"unocss"
|
|
110
|
+
];
|
|
96
111
|
function createDefaultConfig() {
|
|
97
112
|
return {
|
|
98
113
|
extends: [
|
|
@@ -127,17 +142,17 @@ function createDefaultConfig() {
|
|
|
127
142
|
ignoreTypes: ["page"]
|
|
128
143
|
}
|
|
129
144
|
],
|
|
145
|
+
"at-rule-no-deprecated": [
|
|
146
|
+
true,
|
|
147
|
+
{
|
|
148
|
+
ignoreAtRules
|
|
149
|
+
}
|
|
150
|
+
],
|
|
130
151
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
131
152
|
"scss/at-rule-no-unknown": [
|
|
132
153
|
true,
|
|
133
154
|
{
|
|
134
|
-
ignoreAtRules
|
|
135
|
-
// tailwindcss
|
|
136
|
-
"tailwind",
|
|
137
|
-
"config",
|
|
138
|
-
// unocss
|
|
139
|
-
"unocss"
|
|
140
|
-
]
|
|
155
|
+
ignoreAtRules
|
|
141
156
|
}
|
|
142
157
|
]
|
|
143
158
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZP37ULDP.js";
|
|
4
4
|
|
|
5
5
|
// src/index.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -75,6 +75,21 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
// src/index.ts
|
|
78
|
+
var ignoreAtRules = [
|
|
79
|
+
// tailwindcss
|
|
80
|
+
"tailwind",
|
|
81
|
+
"theme",
|
|
82
|
+
"apply",
|
|
83
|
+
"source",
|
|
84
|
+
"utility",
|
|
85
|
+
"variant",
|
|
86
|
+
"custom-variant",
|
|
87
|
+
"reference",
|
|
88
|
+
"config",
|
|
89
|
+
"plugin",
|
|
90
|
+
// unocss
|
|
91
|
+
"unocss"
|
|
92
|
+
];
|
|
78
93
|
function createDefaultConfig() {
|
|
79
94
|
return {
|
|
80
95
|
extends: [
|
|
@@ -109,17 +124,17 @@ function createDefaultConfig() {
|
|
|
109
124
|
ignoreTypes: ["page"]
|
|
110
125
|
}
|
|
111
126
|
],
|
|
127
|
+
"at-rule-no-deprecated": [
|
|
128
|
+
true,
|
|
129
|
+
{
|
|
130
|
+
ignoreAtRules
|
|
131
|
+
}
|
|
132
|
+
],
|
|
112
133
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
113
134
|
"scss/at-rule-no-unknown": [
|
|
114
135
|
true,
|
|
115
136
|
{
|
|
116
|
-
ignoreAtRules
|
|
117
|
-
// tailwindcss
|
|
118
|
-
"tailwind",
|
|
119
|
-
"config",
|
|
120
|
-
// unocss
|
|
121
|
-
"unocss"
|
|
122
|
-
]
|
|
137
|
+
ignoreAtRules
|
|
123
138
|
}
|
|
124
139
|
]
|
|
125
140
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/stylelint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "icebreaker's stylelint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"comment-json": "^4.2.5",
|
|
37
37
|
"postcss-html": "^1.8.0",
|
|
38
38
|
"stylelint-config-recess-order": "^6.0.0",
|
|
39
|
-
"stylelint-config-recommended-scss": "^
|
|
39
|
+
"stylelint-config-recommended-scss": "^15.0.1",
|
|
40
40
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
41
|
-
"stylelint-config-standard-scss": "^
|
|
41
|
+
"stylelint-config-standard-scss": "^15.0.1"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public",
|