@brnshkr/config 0.0.1-alpha.9 → 0.0.1-beta.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/README.md +92 -36
- package/conf/tsconfig.json +4 -7
- package/dist/eslint/index.d.mts +1351 -1643
- package/dist/eslint/index.mjs +255 -176
- package/dist/scripts/eslint.mjs +2 -4
- package/dist/scripts/stylelint.mjs +2 -4
- package/dist/shared.mjs +79 -240
- package/dist/stylelint/index.d.mts +3 -3
- package/dist/stylelint/index.mjs +103 -67
- package/package.json +80 -96
package/dist/stylelint/index.mjs
CHANGED
|
@@ -1,17 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { a as resolvePackagesSharedSynchronously, l as objectEntries, n as GLOB_IGNORES, p as packageOrganization, r as isModuleEnabledByDefault, s as STYLELINT_PACKAGES, t as QUOTES } from "../shared.mjs";
|
|
2
|
+
//#region ../src/js/stylelint/utils/module.ts
|
|
3
|
+
const MODULES = {
|
|
4
|
+
baseline: {
|
|
5
|
+
name: "baseline",
|
|
6
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_PLUGIN_USE_BASELINE] }
|
|
7
|
+
},
|
|
8
|
+
defensive: {
|
|
9
|
+
name: "defensive",
|
|
10
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_PLUGIN_DEFENSIVE_CSS] }
|
|
11
|
+
},
|
|
12
|
+
html: {
|
|
13
|
+
name: "html",
|
|
14
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.POSTCSS_HTML, STYLELINT_PACKAGES.STYLELINT_CONFIG_HTML] }
|
|
15
|
+
},
|
|
16
|
+
logical: {
|
|
17
|
+
name: "logical",
|
|
18
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_PLUGIN_LOGICAL_CSS] }
|
|
19
|
+
},
|
|
20
|
+
modules: {
|
|
21
|
+
name: "modules",
|
|
22
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_CONFIG_CSS_MODULES] }
|
|
23
|
+
},
|
|
24
|
+
nesting: {
|
|
25
|
+
name: "nesting",
|
|
26
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_USE_NESTING] }
|
|
27
|
+
},
|
|
28
|
+
order: {
|
|
29
|
+
name: "order",
|
|
30
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_ORDER, STYLELINT_PACKAGES.STYLELINT_CONFIG_RECESS_ORDER] }
|
|
31
|
+
},
|
|
32
|
+
scss: {
|
|
33
|
+
name: "scss",
|
|
34
|
+
packages: {
|
|
35
|
+
requiredAll: [STYLELINT_PACKAGES.STYLELINT_CONFIG_STANDARD_SCSS],
|
|
36
|
+
optional: [STYLELINT_PACKAGES.STYLELINT_PLUGIN_USE_BASELINE]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
strict: {
|
|
40
|
+
name: "strict",
|
|
41
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLELINT_DECLARATION_STRICT_VALUE] }
|
|
42
|
+
},
|
|
43
|
+
style: {
|
|
44
|
+
name: "style",
|
|
45
|
+
packages: { requiredAll: [STYLELINT_PACKAGES.STYLISTIC_STYLELINT_CONFIG] }
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const resolvePackages = (moduleInfo, type) => resolvePackagesSharedSynchronously(moduleInfo, type);
|
|
49
|
+
const enabledStates = {};
|
|
50
|
+
const isModuleEnabled = (moduleInfo) => enabledStates[moduleInfo.name] ?? isModuleEnabledByDefault(moduleInfo);
|
|
51
|
+
const setModuleEnabled = (moduleInfo, state) => {
|
|
52
|
+
enabledStates[moduleInfo.name] = state;
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region ../src/js/stylelint/configs/baseline.ts
|
|
4
56
|
const baseline = () => {
|
|
5
57
|
const { requiredAll: [isStylelintPluginUseBaselineInstalled] } = resolvePackages(MODULES.baseline);
|
|
6
58
|
if (!isStylelintPluginUseBaselineInstalled) return [];
|
|
7
59
|
return [{
|
|
8
|
-
plugins:
|
|
60
|
+
plugins: STYLELINT_PACKAGES.STYLELINT_PLUGIN_USE_BASELINE,
|
|
9
61
|
rules: { "plugin/use-baseline": true }
|
|
10
62
|
}];
|
|
11
63
|
};
|
|
12
|
-
|
|
13
64
|
//#endregion
|
|
14
|
-
//#region src/js/stylelint/configs/css.ts
|
|
65
|
+
//#region ../src/js/stylelint/configs/css.ts
|
|
15
66
|
const css = () => [{
|
|
16
67
|
extends: "stylelint-config-standard",
|
|
17
68
|
reportDescriptionlessDisables: true,
|
|
@@ -67,39 +118,40 @@ const css = () => [{
|
|
|
67
118
|
}]
|
|
68
119
|
}
|
|
69
120
|
}];
|
|
70
|
-
|
|
71
121
|
//#endregion
|
|
72
|
-
//#region src/js/stylelint/configs/defensive.ts
|
|
122
|
+
//#region ../src/js/stylelint/configs/defensive.ts
|
|
73
123
|
const defensive = () => {
|
|
74
124
|
const { requiredAll: [isStylelintPluginDefensiveCssInstalled] } = resolvePackages(MODULES.defensive);
|
|
75
125
|
if (!isStylelintPluginDefensiveCssInstalled) return [];
|
|
76
126
|
return [{
|
|
77
|
-
plugins:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
127
|
+
plugins: STYLELINT_PACKAGES.STYLELINT_PLUGIN_DEFENSIVE_CSS,
|
|
128
|
+
extends: `${STYLELINT_PACKAGES.STYLELINT_PLUGIN_DEFENSIVE_CSS}/configs/strict`,
|
|
129
|
+
rules: {
|
|
130
|
+
"defensive-css/require-custom-property-fallback": true,
|
|
131
|
+
"defensive-css/require-pure-selectors": [true, {
|
|
132
|
+
ignoreElements: [
|
|
133
|
+
"*",
|
|
134
|
+
"html",
|
|
135
|
+
"body"
|
|
136
|
+
],
|
|
137
|
+
ignoreAttributeSelectors: true,
|
|
138
|
+
strict: true
|
|
139
|
+
}]
|
|
140
|
+
}
|
|
86
141
|
}];
|
|
87
142
|
};
|
|
88
|
-
|
|
89
143
|
//#endregion
|
|
90
|
-
//#region src/js/stylelint/types/overrides.ts
|
|
144
|
+
//#region ../src/js/stylelint/types/overrides.ts
|
|
91
145
|
const OVERRIDES = {
|
|
92
146
|
SCSS: "scss",
|
|
93
147
|
SVELTE: "svelte"
|
|
94
148
|
};
|
|
95
|
-
|
|
96
149
|
//#endregion
|
|
97
|
-
//#region src/js/stylelint/utils/config.ts
|
|
150
|
+
//#region ../src/js/stylelint/utils/config.ts
|
|
98
151
|
const buildOverrideName = (override) => [packageOrganization, override].filter(Boolean).join("/");
|
|
99
152
|
const isValidGlobalAdditionalConfigKey = (key) => [
|
|
100
153
|
"extends",
|
|
101
154
|
"plugins",
|
|
102
|
-
"pluginFunctions",
|
|
103
155
|
"ignoreFiles",
|
|
104
156
|
"rules",
|
|
105
157
|
"quiet",
|
|
@@ -132,10 +184,6 @@ const includeConfigs = (config, configsToInclude) => {
|
|
|
132
184
|
for (const configToInclude of configsToInclude) {
|
|
133
185
|
if (configToInclude.extends !== void 0) config.extends = [...new Set([...Array.isArray(config.extends) ? config.extends ?? [] : [config.extends].filter(Boolean), ...Array.isArray(configToInclude.extends) ? configToInclude.extends ?? [] : [configToInclude.extends].filter(Boolean)])];
|
|
134
186
|
if (configToInclude.plugins !== void 0) config.plugins = [...new Set([...Array.isArray(config.plugins) ? config.plugins ?? [] : [config.plugins].filter(Boolean), ...Array.isArray(configToInclude.plugins) ? configToInclude.plugins ?? [] : [configToInclude.plugins].filter(Boolean)])];
|
|
135
|
-
if (configToInclude.pluginFunctions !== void 0) config.pluginFunctions = {
|
|
136
|
-
...config.pluginFunctions,
|
|
137
|
-
...configToInclude.pluginFunctions
|
|
138
|
-
};
|
|
139
187
|
if (configToInclude.ignoreFiles !== void 0) config.ignoreFiles = [...new Set([...Array.isArray(config.ignoreFiles) ? config.ignoreFiles ?? [] : [config.ignoreFiles].filter(Boolean), ...Array.isArray(configToInclude.ignoreFiles) ? configToInclude.ignoreFiles ?? [] : [configToInclude.ignoreFiles].filter(Boolean)])];
|
|
140
188
|
if (configToInclude.rules !== void 0) config.rules = {
|
|
141
189
|
...config.rules,
|
|
@@ -182,14 +230,13 @@ const includeConfigs = (config, configsToInclude) => {
|
|
|
182
230
|
if (configToInclude.validate !== void 0) config.validate = configToInclude.validate;
|
|
183
231
|
}
|
|
184
232
|
};
|
|
185
|
-
|
|
186
233
|
//#endregion
|
|
187
|
-
//#region src/js/stylelint/configs/html.ts
|
|
234
|
+
//#region ../src/js/stylelint/configs/html.ts
|
|
188
235
|
const html = () => {
|
|
189
236
|
const { requiredAll: [isPostcssHtmlInstalled, isStylelintConfigHtmlInstalled] } = resolvePackages(MODULES.html);
|
|
190
237
|
if (!isPostcssHtmlInstalled || !isStylelintConfigHtmlInstalled) return [];
|
|
191
238
|
return [{
|
|
192
|
-
extends:
|
|
239
|
+
extends: STYLELINT_PACKAGES.STYLELINT_CONFIG_HTML,
|
|
193
240
|
overrides: [{
|
|
194
241
|
name: buildOverrideName(OVERRIDES.SVELTE),
|
|
195
242
|
files: ["**/*.svelte"],
|
|
@@ -200,59 +247,50 @@ const html = () => {
|
|
|
200
247
|
}]
|
|
201
248
|
}];
|
|
202
249
|
};
|
|
203
|
-
|
|
204
250
|
//#endregion
|
|
205
|
-
//#region src/js/stylelint/configs/ignores.ts
|
|
251
|
+
//#region ../src/js/stylelint/configs/ignores.ts
|
|
206
252
|
const ignores = () => [{ ignoreFiles: GLOB_IGNORES.map((glob) => glob.replace(/^\*\*/v, process.cwd())) }];
|
|
207
|
-
|
|
208
253
|
//#endregion
|
|
209
|
-
//#region src/js/stylelint/configs/logical.ts
|
|
254
|
+
//#region ../src/js/stylelint/configs/logical.ts
|
|
210
255
|
const logical = () => {
|
|
211
256
|
const { requiredAll: [isStylelintPluginLogicalCssInstalled] } = resolvePackages(MODULES.logical);
|
|
212
257
|
if (!isStylelintPluginLogicalCssInstalled) return [];
|
|
213
258
|
return [{
|
|
214
|
-
plugins:
|
|
215
|
-
|
|
216
|
-
"plugin/use-logical-properties-and-values": true,
|
|
217
|
-
"plugin/use-logical-units": true
|
|
218
|
-
}
|
|
259
|
+
plugins: STYLELINT_PACKAGES.STYLELINT_PLUGIN_LOGICAL_CSS,
|
|
260
|
+
extends: [`${STYLELINT_PACKAGES.STYLELINT_PLUGIN_LOGICAL_CSS}/configs/recommended`]
|
|
219
261
|
}];
|
|
220
262
|
};
|
|
221
|
-
|
|
222
263
|
//#endregion
|
|
223
|
-
//#region src/js/stylelint/configs/modules.ts
|
|
264
|
+
//#region ../src/js/stylelint/configs/modules.ts
|
|
224
265
|
const modules = () => {
|
|
225
266
|
const { requiredAll: [isStylelintConfigCssModulesInstalled] } = resolvePackages(MODULES.modules);
|
|
226
267
|
if (!isStylelintConfigCssModulesInstalled) return [];
|
|
227
|
-
return [{ extends:
|
|
268
|
+
return [{ extends: STYLELINT_PACKAGES.STYLELINT_CONFIG_CSS_MODULES }];
|
|
228
269
|
};
|
|
229
|
-
|
|
230
270
|
//#endregion
|
|
231
|
-
//#region src/js/stylelint/configs/nesting.ts
|
|
271
|
+
//#region ../src/js/stylelint/configs/nesting.ts
|
|
232
272
|
const nesting = () => {
|
|
233
273
|
const { requiredAll: [isStylelintUseNestingInstalled] } = resolvePackages(MODULES.nesting);
|
|
234
274
|
if (!isStylelintUseNestingInstalled) return [];
|
|
235
275
|
return [{
|
|
236
|
-
plugins:
|
|
276
|
+
plugins: STYLELINT_PACKAGES.STYLELINT_USE_NESTING,
|
|
237
277
|
rules: { "csstools/use-nesting": ["always", { syntax: isModuleEnabled(MODULES.scss) ? "scss" : "css" }] }
|
|
238
278
|
}];
|
|
239
279
|
};
|
|
240
|
-
|
|
241
280
|
//#endregion
|
|
242
|
-
//#region src/js/stylelint/configs/order.ts
|
|
281
|
+
//#region ../src/js/stylelint/configs/order.ts
|
|
243
282
|
const order = () => {
|
|
244
283
|
const { requiredAll: [isStylelintConfigRecessOrderInstalled] } = resolvePackages(MODULES.order);
|
|
245
284
|
if (!isStylelintConfigRecessOrderInstalled) return [];
|
|
246
|
-
return [{ extends:
|
|
285
|
+
return [{ extends: STYLELINT_PACKAGES.STYLELINT_CONFIG_RECESS_ORDER }];
|
|
247
286
|
};
|
|
248
|
-
|
|
249
287
|
//#endregion
|
|
250
|
-
//#region src/js/stylelint/configs/scss.ts
|
|
288
|
+
//#region ../src/js/stylelint/configs/scss.ts
|
|
251
289
|
const scss = () => {
|
|
252
|
-
const { requiredAll: [isStylelintConfigStandardScssInstalled] } = resolvePackages(MODULES.scss);
|
|
290
|
+
const { requiredAll: [isStylelintConfigStandardScssInstalled], optional: [isStylelintPluginUseBaselineInstalled] } = resolvePackages(MODULES.scss);
|
|
253
291
|
if (!isStylelintConfigStandardScssInstalled) return [];
|
|
254
292
|
return [{
|
|
255
|
-
extends:
|
|
293
|
+
extends: STYLELINT_PACKAGES.STYLELINT_CONFIG_STANDARD_SCSS,
|
|
256
294
|
rules: {
|
|
257
295
|
"scss/at-each-key-value-single-line": true,
|
|
258
296
|
"scss/at-mixin-argumentless-call-parentheses": "always",
|
|
@@ -291,18 +329,20 @@ const scss = () => {
|
|
|
291
329
|
overrides: [{
|
|
292
330
|
name: buildOverrideName(OVERRIDES.SCSS),
|
|
293
331
|
files: ["**/*.scss"],
|
|
294
|
-
rules: {
|
|
332
|
+
rules: {
|
|
333
|
+
"scss/comment-no-loud": true,
|
|
334
|
+
...isStylelintPluginUseBaselineInstalled ? { "plugin/use-baseline": [true, { ignoreAtRules: ["function"] }] } : void 0
|
|
335
|
+
}
|
|
295
336
|
}]
|
|
296
337
|
}];
|
|
297
338
|
};
|
|
298
|
-
|
|
299
339
|
//#endregion
|
|
300
|
-
//#region src/js/stylelint/configs/strict.ts
|
|
340
|
+
//#region ../src/js/stylelint/configs/strict.ts
|
|
301
341
|
const strict = () => {
|
|
302
342
|
const { requiredAll: [isStylelintDeclarationStrictValueInstalled] } = resolvePackages(MODULES.strict);
|
|
303
343
|
if (!isStylelintDeclarationStrictValueInstalled) return [];
|
|
304
344
|
return [{
|
|
305
|
-
plugins:
|
|
345
|
+
plugins: STYLELINT_PACKAGES.STYLELINT_DECLARATION_STRICT_VALUE,
|
|
306
346
|
rules: { "scale-unlimited/declaration-strict-value": [
|
|
307
347
|
"/color$/",
|
|
308
348
|
"font-size",
|
|
@@ -310,14 +350,13 @@ const strict = () => {
|
|
|
310
350
|
] }
|
|
311
351
|
}];
|
|
312
352
|
};
|
|
313
|
-
|
|
314
353
|
//#endregion
|
|
315
|
-
//#region src/js/stylelint/configs/style.ts
|
|
354
|
+
//#region ../src/js/stylelint/configs/style.ts
|
|
316
355
|
const style = () => {
|
|
317
356
|
const { requiredAll: [isStylisticStylelintConfigInstalled] } = resolvePackages(MODULES.style);
|
|
318
357
|
if (!isStylisticStylelintConfigInstalled) return [];
|
|
319
358
|
return [{
|
|
320
|
-
extends:
|
|
359
|
+
extends: STYLELINT_PACKAGES.STYLISTIC_STYLELINT_CONFIG,
|
|
321
360
|
rules: {
|
|
322
361
|
"@stylistic/at-rule-name-newline-after": "always-multi-line",
|
|
323
362
|
"@stylistic/at-rule-semicolon-space-before": "never",
|
|
@@ -326,23 +365,22 @@ const style = () => {
|
|
|
326
365
|
"@stylistic/declaration-block-semicolon-newline-after": "always",
|
|
327
366
|
"@stylistic/function-comma-newline-before": "never-multi-line",
|
|
328
367
|
"@stylistic/function-comma-space-before": "never-single-line",
|
|
329
|
-
"@stylistic/indentation":
|
|
368
|
+
"@stylistic/indentation": 2,
|
|
330
369
|
"@stylistic/linebreaks": "unix",
|
|
331
|
-
"@stylistic/max-line-length":
|
|
370
|
+
"@stylistic/max-line-length": 120,
|
|
332
371
|
"@stylistic/media-query-list-comma-newline-after": "always",
|
|
333
372
|
"@stylistic/media-query-list-comma-newline-before": "never-multi-line",
|
|
334
373
|
"@stylistic/named-grid-areas-alignment": [true, { alignQuotes: true }],
|
|
335
374
|
"@stylistic/selector-list-comma-newline-before": "never-multi-line",
|
|
336
|
-
"@stylistic/string-quotes":
|
|
375
|
+
"@stylistic/string-quotes": QUOTES,
|
|
337
376
|
"@stylistic/unicode-bom": "never",
|
|
338
377
|
"@stylistic/value-list-comma-newline-before": "never-multi-line",
|
|
339
378
|
"@stylistic/value-list-comma-space-before": "never-single-line"
|
|
340
379
|
}
|
|
341
380
|
}];
|
|
342
381
|
};
|
|
343
|
-
|
|
344
382
|
//#endregion
|
|
345
|
-
//#region src/js/stylelint/configs/index.ts
|
|
383
|
+
//#region ../src/js/stylelint/configs/index.ts
|
|
346
384
|
const configs = {
|
|
347
385
|
baseline,
|
|
348
386
|
css,
|
|
@@ -357,9 +395,8 @@ const configs = {
|
|
|
357
395
|
strict,
|
|
358
396
|
style
|
|
359
397
|
};
|
|
360
|
-
|
|
361
398
|
//#endregion
|
|
362
|
-
//#region src/js/stylelint/index.ts
|
|
399
|
+
//#region ../src/js/stylelint/index.ts
|
|
363
400
|
const getConfig = (optionsAndGlobalConfig, ...additionalConfigs) => {
|
|
364
401
|
const resolvedOptions = {
|
|
365
402
|
baseline: isModuleEnabledByDefault(MODULES.baseline),
|
|
@@ -401,6 +438,5 @@ const getConfig = (optionsAndGlobalConfig, ...additionalConfigs) => {
|
|
|
401
438
|
return config;
|
|
402
439
|
};
|
|
403
440
|
var stylelint_default = getConfig();
|
|
404
|
-
|
|
405
441
|
//#endregion
|
|
406
|
-
export { stylelint_default as default, getConfig };
|
|
442
|
+
export { stylelint_default as default, getConfig };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@brnshkr/config",
|
|
4
|
-
"version": "0.0.1-
|
|
4
|
+
"version": "0.0.1-beta.2",
|
|
5
5
|
"description": "Centralized collection of configuration and tooling used across all @brnshkr projects",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Patrick Rupp",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"build": "bun --bun typegen && bun --bun tsdown --config ./conf/tsdown.config.ts",
|
|
28
28
|
"watch": "bun --bun tsdown --config ./conf/tsdown.config.ts --watch",
|
|
29
29
|
"typegen": "bun --bun scripts/typegen.ts",
|
|
30
|
-
"changelog": "bun --bun conventional-changelog",
|
|
31
30
|
"install-hooks": "bun --bun simple-git-hooks"
|
|
32
31
|
},
|
|
33
32
|
"exports": {
|
|
@@ -44,55 +43,52 @@
|
|
|
44
43
|
"./dist"
|
|
45
44
|
],
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"@eslint/js": "^
|
|
46
|
+
"@eslint/js": "^10.0.1",
|
|
48
47
|
"confusing-browser-globals": "^1.0.11",
|
|
49
|
-
"eslint-flat-config-utils": "^3.
|
|
50
|
-
"globals": "^17.
|
|
48
|
+
"eslint-flat-config-utils": "^3.1.0",
|
|
49
|
+
"globals": "^17.5.0",
|
|
51
50
|
"local-pkg": "^1.1.2",
|
|
52
51
|
"stylelint-config-standard": "^40.0.0"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|
|
55
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
56
|
-
"@eslint/css": "^
|
|
57
|
-
"@eslint/json": "^1.
|
|
58
|
-
"@eslint/markdown": "^
|
|
59
|
-
"@stylistic/eslint-plugin": "^5.
|
|
60
|
-
"@stylistic/stylelint-config": "^
|
|
61
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
62
|
-
"eslint": "^
|
|
63
|
-
"eslint-config-flat-gitignore": "^2.
|
|
54
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
|
|
55
|
+
"@eslint/css": "^1.1.0",
|
|
56
|
+
"@eslint/json": "^1.2.0",
|
|
57
|
+
"@eslint/markdown": "^8.0.1",
|
|
58
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
59
|
+
"@stylistic/stylelint-config": "^5.0.0",
|
|
60
|
+
"@vitest/eslint-plugin": "^1.6.15",
|
|
61
|
+
"eslint": "^10.2.0",
|
|
62
|
+
"eslint-config-flat-gitignore": "^2.3.0",
|
|
64
63
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
65
64
|
"eslint-merge-processors": "^2.0.0",
|
|
66
|
-
"eslint-plugin-antfu": "^3.
|
|
67
|
-
"eslint-plugin-import-x": "^4.16.
|
|
68
|
-
"eslint-plugin-jsdoc": "^62.
|
|
69
|
-
"eslint-plugin-jsonc": "^
|
|
70
|
-
"eslint-plugin-n": "^17.
|
|
71
|
-
"eslint-plugin-perfectionist": "^5.
|
|
72
|
-
"eslint-plugin-regexp": "^3.
|
|
73
|
-
"eslint-plugin-svelte": "^3.
|
|
74
|
-
"eslint-plugin-toml": "^1.
|
|
75
|
-
"eslint-plugin-unicorn": "^
|
|
76
|
-
"eslint-plugin-unused-imports": "^4.
|
|
77
|
-
"eslint-plugin-yml": "^3.
|
|
78
|
-
"jsonc-eslint-parser": "^2.4.2",
|
|
65
|
+
"eslint-plugin-antfu": "^3.2.2",
|
|
66
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
67
|
+
"eslint-plugin-jsdoc": "^62.9.0",
|
|
68
|
+
"eslint-plugin-jsonc": "^3.1.2",
|
|
69
|
+
"eslint-plugin-n": "^17.24.0",
|
|
70
|
+
"eslint-plugin-perfectionist": "^5.8.0",
|
|
71
|
+
"eslint-plugin-regexp": "^3.1.0",
|
|
72
|
+
"eslint-plugin-svelte": "^3.17.0",
|
|
73
|
+
"eslint-plugin-toml": "^1.3.1",
|
|
74
|
+
"eslint-plugin-unicorn": "^64.0.0",
|
|
75
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
76
|
+
"eslint-plugin-yml": "^3.3.1",
|
|
79
77
|
"postcss-html": "^1.8.1",
|
|
80
|
-
"stylelint": "^17.
|
|
78
|
+
"stylelint": "^17.7.0",
|
|
81
79
|
"stylelint-config-css-modules": "^4.6.0",
|
|
82
80
|
"stylelint-config-html": "^1.1.0",
|
|
83
|
-
"stylelint-config-recess-order": "^7.
|
|
81
|
+
"stylelint-config-recess-order": "^7.7.0",
|
|
84
82
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
85
|
-
"stylelint-declaration-strict-value": "^1.
|
|
86
|
-
"stylelint-order": "^
|
|
87
|
-
"stylelint-plugin-defensive-css": "^
|
|
88
|
-
"stylelint-plugin-logical-css": "^1.
|
|
89
|
-
"stylelint-plugin-use-baseline": "^1.
|
|
90
|
-
"stylelint-use-nesting": "^6.0.
|
|
91
|
-
"svelte": "^5.
|
|
92
|
-
"
|
|
93
|
-
"typescript": "^
|
|
94
|
-
"typescript-eslint": "^8.54.0",
|
|
95
|
-
"yaml-eslint-parser": "^2.0.0"
|
|
83
|
+
"stylelint-declaration-strict-value": "^1.11.1",
|
|
84
|
+
"stylelint-order": "^8.1.1",
|
|
85
|
+
"stylelint-plugin-defensive-css": "^2.9.0",
|
|
86
|
+
"stylelint-plugin-logical-css": "^2.1.0",
|
|
87
|
+
"stylelint-plugin-use-baseline": "^1.4.1",
|
|
88
|
+
"stylelint-use-nesting": "^6.0.2",
|
|
89
|
+
"svelte": "^5.55.3",
|
|
90
|
+
"typescript": "^6.0.2",
|
|
91
|
+
"typescript-eslint": "^8.58.2"
|
|
96
92
|
},
|
|
97
93
|
"peerDependenciesMeta": {
|
|
98
94
|
"@eslint-community/eslint-plugin-eslint-comments": {
|
|
@@ -161,9 +157,6 @@
|
|
|
161
157
|
"eslint-plugin-yml": {
|
|
162
158
|
"optional": true
|
|
163
159
|
},
|
|
164
|
-
"jsonc-eslint-parser": {
|
|
165
|
-
"optional": true
|
|
166
|
-
},
|
|
167
160
|
"postcss-html": {
|
|
168
161
|
"optional": true
|
|
169
162
|
},
|
|
@@ -203,77 +196,68 @@
|
|
|
203
196
|
"svelte": {
|
|
204
197
|
"optional": true
|
|
205
198
|
},
|
|
206
|
-
"toml-eslint-parser": {
|
|
207
|
-
"optional": true
|
|
208
|
-
},
|
|
209
199
|
"typescript": {
|
|
210
200
|
"optional": true
|
|
211
201
|
},
|
|
212
202
|
"typescript-eslint": {
|
|
213
203
|
"optional": true
|
|
214
|
-
},
|
|
215
|
-
"yaml-eslint-parser": {
|
|
216
|
-
"optional": true
|
|
217
204
|
}
|
|
218
205
|
},
|
|
219
206
|
"devDependencies": {
|
|
220
|
-
"@commitlint/config-conventional": "20.
|
|
221
|
-
"@commitlint/types": "20.
|
|
222
|
-
"@eslint-community/eslint-plugin-eslint-comments": "4.
|
|
223
|
-
"@eslint/config-inspector": "1.
|
|
224
|
-
"@eslint/css": "
|
|
225
|
-
"@eslint/json": "1.
|
|
226
|
-
"@eslint/markdown": "
|
|
227
|
-
"@stylistic/eslint-plugin": "5.
|
|
228
|
-
"@stylistic/stylelint-config": "
|
|
207
|
+
"@commitlint/config-conventional": "20.5.0",
|
|
208
|
+
"@commitlint/types": "20.5.0",
|
|
209
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
|
|
210
|
+
"@eslint/config-inspector": "1.5.0",
|
|
211
|
+
"@eslint/css": "1.1.0",
|
|
212
|
+
"@eslint/json": "1.2.0",
|
|
213
|
+
"@eslint/markdown": "8.0.1",
|
|
214
|
+
"@stylistic/eslint-plugin": "5.10.0",
|
|
215
|
+
"@stylistic/stylelint-config": "5.0.0",
|
|
229
216
|
"@total-typescript/ts-reset": "0.6.1",
|
|
230
|
-
"@types/bun": "1.3.
|
|
217
|
+
"@types/bun": "1.3.12",
|
|
231
218
|
"@types/confusing-browser-globals": "1.0.3",
|
|
232
|
-
"@typescript-eslint/utils": "8.
|
|
233
|
-
"@vitest/eslint-plugin": "1.6.
|
|
234
|
-
"commitlint": "20.
|
|
235
|
-
"conventional-changelog": "7.
|
|
236
|
-
"eslint": "
|
|
237
|
-
"eslint-config-flat-gitignore": "2.
|
|
219
|
+
"@typescript-eslint/utils": "8.58.2",
|
|
220
|
+
"@vitest/eslint-plugin": "1.6.15",
|
|
221
|
+
"commitlint": "20.5.0",
|
|
222
|
+
"conventional-changelog": "7.2.0",
|
|
223
|
+
"eslint": "10.2.0",
|
|
224
|
+
"eslint-config-flat-gitignore": "2.3.0",
|
|
238
225
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
239
226
|
"eslint-merge-processors": "2.0.0",
|
|
240
|
-
"eslint-plugin-antfu": "3.
|
|
241
|
-
"eslint-plugin-import-x": "4.16.
|
|
242
|
-
"eslint-plugin-jsdoc": "62.
|
|
243
|
-
"eslint-plugin-jsonc": "
|
|
244
|
-
"eslint-plugin-n": "17.
|
|
245
|
-
"eslint-plugin-perfectionist": "5.
|
|
246
|
-
"eslint-plugin-regexp": "3.
|
|
247
|
-
"eslint-plugin-svelte": "3.
|
|
248
|
-
"eslint-plugin-toml": "1.
|
|
249
|
-
"eslint-plugin-unicorn": "
|
|
250
|
-
"eslint-plugin-unused-imports": "4.
|
|
251
|
-
"eslint-plugin-yml": "3.
|
|
252
|
-
"eslint-typegen": "2.3.
|
|
227
|
+
"eslint-plugin-antfu": "3.2.2",
|
|
228
|
+
"eslint-plugin-import-x": "4.16.2",
|
|
229
|
+
"eslint-plugin-jsdoc": "62.9.0",
|
|
230
|
+
"eslint-plugin-jsonc": "3.1.2",
|
|
231
|
+
"eslint-plugin-n": "17.24.0",
|
|
232
|
+
"eslint-plugin-perfectionist": "5.8.0",
|
|
233
|
+
"eslint-plugin-regexp": "3.1.0",
|
|
234
|
+
"eslint-plugin-svelte": "3.17.0",
|
|
235
|
+
"eslint-plugin-toml": "1.3.1",
|
|
236
|
+
"eslint-plugin-unicorn": "64.0.0",
|
|
237
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
238
|
+
"eslint-plugin-yml": "3.3.1",
|
|
239
|
+
"eslint-typegen": "2.3.1",
|
|
253
240
|
"jiti": "2.6.1",
|
|
254
|
-
"
|
|
255
|
-
"node-modules-inspector": "1.3.1",
|
|
241
|
+
"node-modules-inspector": "1.4.2",
|
|
256
242
|
"postcss-html": "1.8.1",
|
|
257
243
|
"simple-git-hooks": "2.13.1",
|
|
258
|
-
"stylelint": "17.
|
|
244
|
+
"stylelint": "17.7.0",
|
|
259
245
|
"stylelint-config-css-modules": "4.6.0",
|
|
260
246
|
"stylelint-config-html": "1.1.0",
|
|
261
|
-
"stylelint-config-recess-order": "7.
|
|
247
|
+
"stylelint-config-recess-order": "7.7.0",
|
|
262
248
|
"stylelint-config-standard-scss": "17.0.0",
|
|
263
|
-
"stylelint-declaration-strict-value": "1.
|
|
264
|
-
"stylelint-order": "
|
|
265
|
-
"stylelint-plugin-defensive-css": "
|
|
266
|
-
"stylelint-plugin-logical-css": "1.
|
|
267
|
-
"stylelint-plugin-use-baseline": "1.
|
|
268
|
-
"stylelint-use-nesting": "6.0.
|
|
269
|
-
"svelte": "5.
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"typescript": "
|
|
274
|
-
"
|
|
275
|
-
"vitest": "4.0.18",
|
|
276
|
-
"yaml-eslint-parser": "2.0.0"
|
|
249
|
+
"stylelint-declaration-strict-value": "1.11.1",
|
|
250
|
+
"stylelint-order": "8.1.1",
|
|
251
|
+
"stylelint-plugin-defensive-css": "2.9.0",
|
|
252
|
+
"stylelint-plugin-logical-css": "2.1.0",
|
|
253
|
+
"stylelint-plugin-use-baseline": "1.4.1",
|
|
254
|
+
"stylelint-use-nesting": "6.0.2",
|
|
255
|
+
"svelte": "5.55.3",
|
|
256
|
+
"tsdown": "0.21.8",
|
|
257
|
+
"type-fest": "5.5.0",
|
|
258
|
+
"typescript": "6.0.2",
|
|
259
|
+
"typescript-eslint": "8.58.2",
|
|
260
|
+
"vitest": "4.1.4"
|
|
277
261
|
},
|
|
278
262
|
"keywords": [
|
|
279
263
|
"dev",
|