@ntnyq/eslint-config 2.0.0-beta.24 → 2.0.0-beta.26
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 +20 -18
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +50 -48
- package/package.json +20 -20
package/dist/index.cjs
CHANGED
|
@@ -65,13 +65,13 @@ __export(src_exports, {
|
|
|
65
65
|
markdown: () => markdown,
|
|
66
66
|
node: () => node,
|
|
67
67
|
ntnyq: () => ntnyq,
|
|
68
|
-
parserJsonc: () =>
|
|
68
|
+
parserJsonc: () => parserJsonc,
|
|
69
69
|
parserTs: () => parserTs,
|
|
70
|
-
parserVue: () =>
|
|
71
|
-
parserYaml: () =>
|
|
70
|
+
parserVue: () => parserVue,
|
|
71
|
+
parserYaml: () => parserYaml,
|
|
72
72
|
pluginComments: () => import_eslint_plugin_eslint_comments.default,
|
|
73
|
-
pluginImport: () =>
|
|
74
|
-
pluginJsonc: () =>
|
|
73
|
+
pluginImport: () => pluginImport,
|
|
74
|
+
pluginJsonc: () => pluginJsonc,
|
|
75
75
|
pluginMarkdown: () => import_eslint_plugin_markdown.default,
|
|
76
76
|
pluginNode: () => import_eslint_plugin_n.default,
|
|
77
77
|
pluginPrettier: () => import_eslint_plugin_prettier.default,
|
|
@@ -144,6 +144,8 @@ var GLOB_EXCLUDE = [
|
|
|
144
144
|
"**/fixtures",
|
|
145
145
|
"**/.vitepress/cache",
|
|
146
146
|
"**/.nuxt",
|
|
147
|
+
"**/.output",
|
|
148
|
+
"**/.nitro",
|
|
147
149
|
"**/.vercel",
|
|
148
150
|
"**/.changeset",
|
|
149
151
|
"**/.npmrc",
|
|
@@ -159,20 +161,20 @@ var import_local_pkg = require("local-pkg");
|
|
|
159
161
|
var import_eslint_define_config2 = require("eslint-define-config");
|
|
160
162
|
|
|
161
163
|
// src/plugins.ts
|
|
162
|
-
var pluginYaml = __toESM(require("eslint-plugin-yml"), 1);
|
|
163
164
|
var import_eslint_plugin_n = __toESM(require("eslint-plugin-n"), 1);
|
|
164
|
-
var import_eslint_plugin_i = __toESM(require("eslint-plugin-i"), 1);
|
|
165
165
|
var import_eslint_plugin_vue = __toESM(require("eslint-plugin-vue"), 1);
|
|
166
|
-
var import_eslint_plugin_jsonc = __toESM(require("eslint-plugin-jsonc"), 1);
|
|
167
166
|
var import_eslint_plugin = __toESM(require("@unocss/eslint-plugin"), 1);
|
|
168
167
|
var import_eslint_plugin_unicorn = __toESM(require("eslint-plugin-unicorn"), 1);
|
|
169
168
|
var import_eslint_plugin_prettier = __toESM(require("eslint-plugin-prettier"), 1);
|
|
170
169
|
var import_eslint_plugin_markdown = __toESM(require("eslint-plugin-markdown"), 1);
|
|
171
170
|
var import_eslint_plugin_eslint_comments = __toESM(require("eslint-plugin-eslint-comments"), 1);
|
|
172
171
|
var import_eslint_plugin2 = __toESM(require("@typescript-eslint/eslint-plugin"), 1);
|
|
173
|
-
var
|
|
174
|
-
var
|
|
175
|
-
var
|
|
172
|
+
var pluginYaml = __toESM(require("eslint-plugin-yml"), 1);
|
|
173
|
+
var pluginJsonc = __toESM(require("eslint-plugin-jsonc"), 1);
|
|
174
|
+
var pluginImport = __toESM(require("eslint-plugin-import-x"), 1);
|
|
175
|
+
var parserYaml = __toESM(require("yaml-eslint-parser"), 1);
|
|
176
|
+
var parserVue = __toESM(require("vue-eslint-parser"), 1);
|
|
177
|
+
var parserJsonc = __toESM(require("jsonc-eslint-parser"), 1);
|
|
176
178
|
var parserTs = __toESM(require("@typescript-eslint/parser"), 1);
|
|
177
179
|
|
|
178
180
|
// src/configs/typescript.ts
|
|
@@ -274,7 +276,7 @@ var vue = (0, import_eslint_define_config2.defineFlatConfig)([
|
|
|
274
276
|
"@typescript-eslint": import_eslint_plugin2.default
|
|
275
277
|
},
|
|
276
278
|
languageOptions: {
|
|
277
|
-
parser:
|
|
279
|
+
parser: parserVue,
|
|
278
280
|
parserOptions: {
|
|
279
281
|
parser: "@typescript-eslint/parser",
|
|
280
282
|
sourceType: "module",
|
|
@@ -303,7 +305,7 @@ var yml = (0, import_eslint_define_config3.defineFlatConfig)([
|
|
|
303
305
|
{
|
|
304
306
|
files: [GLOB_YAML],
|
|
305
307
|
languageOptions: {
|
|
306
|
-
parser:
|
|
308
|
+
parser: parserYaml
|
|
307
309
|
},
|
|
308
310
|
plugins: {
|
|
309
311
|
yml: pluginYaml
|
|
@@ -539,13 +541,13 @@ var jsonc = (0, import_eslint_define_config6.defineFlatConfig)([
|
|
|
539
541
|
{
|
|
540
542
|
files: [GLOB_JSON, GLOB_JSON5, GLOB_JSONC, "**/*rc"],
|
|
541
543
|
plugins: {
|
|
542
|
-
jsonc:
|
|
544
|
+
jsonc: pluginJsonc
|
|
543
545
|
},
|
|
544
546
|
languageOptions: {
|
|
545
|
-
parser:
|
|
547
|
+
parser: parserJsonc
|
|
546
548
|
},
|
|
547
549
|
rules: {
|
|
548
|
-
...
|
|
550
|
+
...pluginJsonc.configs["recommended-with-jsonc"].rules,
|
|
549
551
|
"jsonc/array-bracket-spacing": ["error", "never"],
|
|
550
552
|
"jsonc/comma-dangle": ["error", "never"],
|
|
551
553
|
"jsonc/comma-style": ["error", "last"],
|
|
@@ -581,7 +583,7 @@ var import_eslint_define_config7 = require("eslint-define-config");
|
|
|
581
583
|
var imports = (0, import_eslint_define_config7.defineFlatConfig)([
|
|
582
584
|
{
|
|
583
585
|
plugins: {
|
|
584
|
-
import:
|
|
586
|
+
import: pluginImport
|
|
585
587
|
},
|
|
586
588
|
settings: {
|
|
587
589
|
"import/resolver": {
|
|
@@ -747,7 +749,7 @@ var markdown = (0, import_eslint_define_config11.defineFlatConfig)([
|
|
|
747
749
|
"@typescript-eslint": import_eslint_plugin2.default
|
|
748
750
|
},
|
|
749
751
|
rules: {
|
|
750
|
-
...import_eslint_plugin_markdown.default.configs
|
|
752
|
+
...import_eslint_plugin_markdown.default.configs["recommended-legacy"].overrides[1].rules,
|
|
751
753
|
"no-undef": "off",
|
|
752
754
|
"no-alert": "off",
|
|
753
755
|
"no-console": "off",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import * as eslint_define_config from 'eslint-define-config';
|
|
2
2
|
import { FlatESLintConfig } from 'eslint-define-config';
|
|
3
|
-
import * as eslintPluginYml from 'eslint-plugin-yml';
|
|
4
|
-
export { eslintPluginYml as pluginYaml };
|
|
5
3
|
export { default as pluginNode } from 'eslint-plugin-n';
|
|
6
|
-
export { default as pluginImport } from 'eslint-plugin-i';
|
|
7
4
|
export { default as pluginVue } from 'eslint-plugin-vue';
|
|
8
|
-
export { default as pluginJsonc } from 'eslint-plugin-jsonc';
|
|
9
5
|
export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
|
|
10
6
|
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
11
7
|
export { default as pluginPrettier } from 'eslint-plugin-prettier';
|
|
12
8
|
export { default as pluginMarkdown } from 'eslint-plugin-markdown';
|
|
13
9
|
export { default as pluginComments } from 'eslint-plugin-eslint-comments';
|
|
14
10
|
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
|
|
11
|
+
import * as eslintPluginYml from 'eslint-plugin-yml';
|
|
12
|
+
export { eslintPluginYml as pluginYaml };
|
|
13
|
+
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
14
|
+
export { eslintPluginJsonc as pluginJsonc };
|
|
15
|
+
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
16
|
+
export { eslintPluginImportX as pluginImport };
|
|
17
|
+
import * as yamlEslintParser from 'yaml-eslint-parser';
|
|
18
|
+
export { yamlEslintParser as parserYaml };
|
|
19
|
+
import * as vueEslintParser from 'vue-eslint-parser';
|
|
20
|
+
export { vueEslintParser as parserVue };
|
|
21
|
+
import * as jsoncEslintParser from 'jsonc-eslint-parser';
|
|
22
|
+
export { jsoncEslintParser as parserJsonc };
|
|
18
23
|
import * as parser from '@typescript-eslint/parser';
|
|
19
24
|
export { parser as parserTs };
|
|
20
25
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import * as eslint_define_config from 'eslint-define-config';
|
|
2
2
|
import { FlatESLintConfig } from 'eslint-define-config';
|
|
3
|
-
import * as eslintPluginYml from 'eslint-plugin-yml';
|
|
4
|
-
export { eslintPluginYml as pluginYaml };
|
|
5
3
|
export { default as pluginNode } from 'eslint-plugin-n';
|
|
6
|
-
export { default as pluginImport } from 'eslint-plugin-i';
|
|
7
4
|
export { default as pluginVue } from 'eslint-plugin-vue';
|
|
8
|
-
export { default as pluginJsonc } from 'eslint-plugin-jsonc';
|
|
9
5
|
export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
|
|
10
6
|
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
11
7
|
export { default as pluginPrettier } from 'eslint-plugin-prettier';
|
|
12
8
|
export { default as pluginMarkdown } from 'eslint-plugin-markdown';
|
|
13
9
|
export { default as pluginComments } from 'eslint-plugin-eslint-comments';
|
|
14
10
|
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
|
|
11
|
+
import * as eslintPluginYml from 'eslint-plugin-yml';
|
|
12
|
+
export { eslintPluginYml as pluginYaml };
|
|
13
|
+
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
14
|
+
export { eslintPluginJsonc as pluginJsonc };
|
|
15
|
+
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
16
|
+
export { eslintPluginImportX as pluginImport };
|
|
17
|
+
import * as yamlEslintParser from 'yaml-eslint-parser';
|
|
18
|
+
export { yamlEslintParser as parserYaml };
|
|
19
|
+
import * as vueEslintParser from 'vue-eslint-parser';
|
|
20
|
+
export { vueEslintParser as parserVue };
|
|
21
|
+
import * as jsoncEslintParser from 'jsonc-eslint-parser';
|
|
22
|
+
export { jsoncEslintParser as parserJsonc };
|
|
18
23
|
import * as parser from '@typescript-eslint/parser';
|
|
19
24
|
export { parser as parserTs };
|
|
20
25
|
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,8 @@ var GLOB_EXCLUDE = [
|
|
|
51
51
|
"**/fixtures",
|
|
52
52
|
"**/.vitepress/cache",
|
|
53
53
|
"**/.nuxt",
|
|
54
|
+
"**/.output",
|
|
55
|
+
"**/.nitro",
|
|
54
56
|
"**/.vercel",
|
|
55
57
|
"**/.changeset",
|
|
56
58
|
"**/.npmrc",
|
|
@@ -66,20 +68,20 @@ import { getPackageInfoSync } from "local-pkg";
|
|
|
66
68
|
import { defineFlatConfig as defineFlatConfig2 } from "eslint-define-config";
|
|
67
69
|
|
|
68
70
|
// src/plugins.ts
|
|
69
|
-
import * as pluginYaml from "eslint-plugin-yml";
|
|
70
71
|
import { default as default2 } from "eslint-plugin-n";
|
|
71
|
-
import { default as default3 } from "eslint-plugin-
|
|
72
|
-
import { default as default4 } from "eslint-plugin
|
|
73
|
-
import { default as default5 } from "eslint-plugin-
|
|
74
|
-
import { default as default6 } from "
|
|
75
|
-
import { default as default7 } from "eslint-plugin-
|
|
76
|
-
import { default as default8 } from "eslint-plugin-
|
|
77
|
-
import { default as default9 } from "eslint-plugin
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
72
|
+
import { default as default3 } from "eslint-plugin-vue";
|
|
73
|
+
import { default as default4 } from "@unocss/eslint-plugin";
|
|
74
|
+
import { default as default5 } from "eslint-plugin-unicorn";
|
|
75
|
+
import { default as default6 } from "eslint-plugin-prettier";
|
|
76
|
+
import { default as default7 } from "eslint-plugin-markdown";
|
|
77
|
+
import { default as default8 } from "eslint-plugin-eslint-comments";
|
|
78
|
+
import { default as default9 } from "@typescript-eslint/eslint-plugin";
|
|
79
|
+
import * as pluginYaml from "eslint-plugin-yml";
|
|
80
|
+
import * as pluginJsonc from "eslint-plugin-jsonc";
|
|
81
|
+
import * as pluginImport from "eslint-plugin-import-x";
|
|
82
|
+
import * as parserYaml from "yaml-eslint-parser";
|
|
83
|
+
import * as parserVue from "vue-eslint-parser";
|
|
84
|
+
import * as parserJsonc from "jsonc-eslint-parser";
|
|
83
85
|
import * as parserTs from "@typescript-eslint/parser";
|
|
84
86
|
|
|
85
87
|
// src/configs/typescript.ts
|
|
@@ -94,11 +96,11 @@ var typescript = defineFlatConfig([
|
|
|
94
96
|
}
|
|
95
97
|
},
|
|
96
98
|
plugins: {
|
|
97
|
-
"@typescript-eslint":
|
|
99
|
+
"@typescript-eslint": default9
|
|
98
100
|
},
|
|
99
101
|
rules: {
|
|
100
|
-
...
|
|
101
|
-
...
|
|
102
|
+
...default9.configs.recommended.rules,
|
|
103
|
+
...default9.configs.stylistic.rules,
|
|
102
104
|
"@typescript-eslint/no-unused-vars": "error",
|
|
103
105
|
"@typescript-eslint/no-redeclare": "error",
|
|
104
106
|
"@typescript-eslint/consistent-type-imports": [
|
|
@@ -177,11 +179,11 @@ var vue = defineFlatConfig2([
|
|
|
177
179
|
{
|
|
178
180
|
files: [GLOB_VUE],
|
|
179
181
|
plugins: {
|
|
180
|
-
vue:
|
|
181
|
-
"@typescript-eslint":
|
|
182
|
+
vue: default3,
|
|
183
|
+
"@typescript-eslint": default9
|
|
182
184
|
},
|
|
183
185
|
languageOptions: {
|
|
184
|
-
parser:
|
|
186
|
+
parser: parserVue,
|
|
185
187
|
parserOptions: {
|
|
186
188
|
parser: "@typescript-eslint/parser",
|
|
187
189
|
sourceType: "module",
|
|
@@ -191,14 +193,14 @@ var vue = defineFlatConfig2([
|
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
},
|
|
194
|
-
processor:
|
|
196
|
+
processor: default3.processors[".vue"],
|
|
195
197
|
rules: {
|
|
196
198
|
...typescript[0].rules
|
|
197
199
|
}
|
|
198
200
|
},
|
|
199
201
|
{
|
|
200
202
|
plugins: {
|
|
201
|
-
vue:
|
|
203
|
+
vue: default3
|
|
202
204
|
},
|
|
203
205
|
rules: isVue3 ? vue3Rules : vue2Rules
|
|
204
206
|
}
|
|
@@ -210,7 +212,7 @@ var yml = defineFlatConfig3([
|
|
|
210
212
|
{
|
|
211
213
|
files: [GLOB_YAML],
|
|
212
214
|
languageOptions: {
|
|
213
|
-
parser:
|
|
215
|
+
parser: parserYaml
|
|
214
216
|
},
|
|
215
217
|
plugins: {
|
|
216
218
|
yml: pluginYaml
|
|
@@ -446,13 +448,13 @@ var jsonc = defineFlatConfig6([
|
|
|
446
448
|
{
|
|
447
449
|
files: [GLOB_JSON, GLOB_JSON5, GLOB_JSONC, "**/*rc"],
|
|
448
450
|
plugins: {
|
|
449
|
-
jsonc:
|
|
451
|
+
jsonc: pluginJsonc
|
|
450
452
|
},
|
|
451
453
|
languageOptions: {
|
|
452
|
-
parser:
|
|
454
|
+
parser: parserJsonc
|
|
453
455
|
},
|
|
454
456
|
rules: {
|
|
455
|
-
...
|
|
457
|
+
...pluginJsonc.configs["recommended-with-jsonc"].rules,
|
|
456
458
|
"jsonc/array-bracket-spacing": ["error", "never"],
|
|
457
459
|
"jsonc/comma-dangle": ["error", "never"],
|
|
458
460
|
"jsonc/comma-style": ["error", "last"],
|
|
@@ -488,7 +490,7 @@ import { defineFlatConfig as defineFlatConfig7 } from "eslint-define-config";
|
|
|
488
490
|
var imports = defineFlatConfig7([
|
|
489
491
|
{
|
|
490
492
|
plugins: {
|
|
491
|
-
import:
|
|
493
|
+
import: pluginImport
|
|
492
494
|
},
|
|
493
495
|
settings: {
|
|
494
496
|
"import/resolver": {
|
|
@@ -531,10 +533,10 @@ import { defineFlatConfig as defineFlatConfig8 } from "eslint-define-config";
|
|
|
531
533
|
var unocss = defineFlatConfig8([
|
|
532
534
|
{
|
|
533
535
|
plugins: {
|
|
534
|
-
"@unocss":
|
|
536
|
+
"@unocss": default4
|
|
535
537
|
},
|
|
536
538
|
rules: {
|
|
537
|
-
...
|
|
539
|
+
...default4.configs.recommended.rules
|
|
538
540
|
}
|
|
539
541
|
}
|
|
540
542
|
]);
|
|
@@ -544,7 +546,7 @@ import { defineFlatConfig as defineFlatConfig9 } from "eslint-define-config";
|
|
|
544
546
|
var unicorn = defineFlatConfig9([
|
|
545
547
|
{
|
|
546
548
|
plugins: {
|
|
547
|
-
unicorn:
|
|
549
|
+
unicorn: default5
|
|
548
550
|
},
|
|
549
551
|
rules: {
|
|
550
552
|
"unicorn/no-unsafe-regex": "off",
|
|
@@ -621,11 +623,11 @@ import { defineFlatConfig as defineFlatConfig10 } from "eslint-define-config";
|
|
|
621
623
|
var prettier = defineFlatConfig10([
|
|
622
624
|
{
|
|
623
625
|
plugins: {
|
|
624
|
-
prettier:
|
|
626
|
+
prettier: default6
|
|
625
627
|
},
|
|
626
628
|
rules: {
|
|
627
629
|
...prettierConfig.rules,
|
|
628
|
-
...
|
|
630
|
+
...default6.configs.recommended.rules,
|
|
629
631
|
"prettier/prettier": "warn"
|
|
630
632
|
}
|
|
631
633
|
}
|
|
@@ -637,7 +639,7 @@ var markdown = defineFlatConfig11([
|
|
|
637
639
|
{
|
|
638
640
|
files: [GLOB_MARKDOWN],
|
|
639
641
|
plugins: {
|
|
640
|
-
markdown:
|
|
642
|
+
markdown: default7
|
|
641
643
|
},
|
|
642
644
|
processor: "markdown/markdown"
|
|
643
645
|
},
|
|
@@ -651,10 +653,10 @@ var markdown = defineFlatConfig11([
|
|
|
651
653
|
}
|
|
652
654
|
},
|
|
653
655
|
plugins: {
|
|
654
|
-
"@typescript-eslint":
|
|
656
|
+
"@typescript-eslint": default9
|
|
655
657
|
},
|
|
656
658
|
rules: {
|
|
657
|
-
...
|
|
659
|
+
...default7.configs["recommended-legacy"].overrides[1].rules,
|
|
658
660
|
"no-undef": "off",
|
|
659
661
|
"no-alert": "off",
|
|
660
662
|
"no-console": "off",
|
|
@@ -679,10 +681,10 @@ import { defineFlatConfig as defineFlatConfig12 } from "eslint-define-config";
|
|
|
679
681
|
var comments = defineFlatConfig12([
|
|
680
682
|
{
|
|
681
683
|
plugins: {
|
|
682
|
-
"eslint-comments":
|
|
684
|
+
"eslint-comments": default8
|
|
683
685
|
},
|
|
684
686
|
rules: {
|
|
685
|
-
...
|
|
687
|
+
...default8.configs.recommended.rules,
|
|
686
688
|
"eslint-comments/disable-enable-pair": ["error", { allowWholeFile: true }]
|
|
687
689
|
}
|
|
688
690
|
}
|
|
@@ -1145,20 +1147,20 @@ export {
|
|
|
1145
1147
|
markdown,
|
|
1146
1148
|
node,
|
|
1147
1149
|
ntnyq,
|
|
1148
|
-
|
|
1150
|
+
parserJsonc,
|
|
1149
1151
|
parserTs,
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1152
|
+
parserVue,
|
|
1153
|
+
parserYaml,
|
|
1154
|
+
default8 as pluginComments,
|
|
1155
|
+
pluginImport,
|
|
1156
|
+
pluginJsonc,
|
|
1157
|
+
default7 as pluginMarkdown,
|
|
1156
1158
|
default2 as pluginNode,
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1159
|
+
default6 as pluginPrettier,
|
|
1160
|
+
default9 as pluginTs,
|
|
1161
|
+
default5 as pluginUnicorn,
|
|
1162
|
+
default4 as pluginUnoCSS,
|
|
1163
|
+
default3 as pluginVue,
|
|
1162
1164
|
pluginYaml,
|
|
1163
1165
|
prettier,
|
|
1164
1166
|
sortPackageJson,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.26",
|
|
5
5
|
"description": "ESLint flat config of ntnyq",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup",
|
|
39
39
|
"clean": "rimraf dist",
|
|
40
|
-
"lint": "
|
|
40
|
+
"lint": "eslint .",
|
|
41
41
|
"prepare": "husky",
|
|
42
42
|
"release": "run-s release:check release:version",
|
|
43
43
|
"release:check": "run-s clean build lint typecheck",
|
|
@@ -48,25 +48,25 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"eslint": "^8.
|
|
51
|
+
"eslint": "^8.57.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@eslint/js": "^
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^7.0
|
|
56
|
-
"@typescript-eslint/parser": "^7.0
|
|
57
|
-
"@unocss/eslint-plugin": "^0.
|
|
54
|
+
"@eslint/js": "^9.0.0",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
56
|
+
"@typescript-eslint/parser": "^7.7.0",
|
|
57
|
+
"@unocss/eslint-plugin": "^0.59.3",
|
|
58
58
|
"eslint-config-prettier": "^9.1.0",
|
|
59
59
|
"eslint-define-config": "^2.1.0",
|
|
60
60
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
61
|
-
"eslint-plugin-
|
|
62
|
-
"eslint-plugin-jsonc": "^2.
|
|
63
|
-
"eslint-plugin-markdown": "^
|
|
64
|
-
"eslint-plugin-n": "^
|
|
61
|
+
"eslint-plugin-import-x": "^0.5.0",
|
|
62
|
+
"eslint-plugin-jsonc": "^2.15.1",
|
|
63
|
+
"eslint-plugin-markdown": "^4.0.1",
|
|
64
|
+
"eslint-plugin-n": "^17.2.1",
|
|
65
65
|
"eslint-plugin-prettier": "^5.1.3",
|
|
66
|
-
"eslint-plugin-unicorn": "^
|
|
67
|
-
"eslint-plugin-vue": "^9.
|
|
68
|
-
"eslint-plugin-yml": "^1.
|
|
69
|
-
"globals": "^
|
|
66
|
+
"eslint-plugin-unicorn": "^52.0.0",
|
|
67
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
68
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
69
|
+
"globals": "^15.0.0",
|
|
70
70
|
"jsonc-eslint-parser": "^2.4.0",
|
|
71
71
|
"local-pkg": "^0.5.0",
|
|
72
72
|
"prettier": "^3.2.5",
|
|
@@ -74,16 +74,16 @@
|
|
|
74
74
|
"yaml-eslint-parser": "^1.2.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@ntnyq/prettier-config": "^1.
|
|
78
|
-
"@types/node": "^20.
|
|
79
|
-
"bumpp": "^9.
|
|
80
|
-
"eslint": "^
|
|
77
|
+
"@ntnyq/prettier-config": "^1.21.2",
|
|
78
|
+
"@types/node": "^20.12.7",
|
|
79
|
+
"bumpp": "^9.4.0",
|
|
80
|
+
"eslint": "^9.0.0",
|
|
81
81
|
"husky": "^9.0.11",
|
|
82
82
|
"nano-staged": "^0.8.0",
|
|
83
83
|
"npm-run-all": "^4.1.5",
|
|
84
84
|
"rimraf": "^5.0.5",
|
|
85
85
|
"tsup": "^8.0.2",
|
|
86
|
-
"typescript": "5.
|
|
86
|
+
"typescript": "^5.4.5"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=18.18"
|