@ivanmaxlogiudice/eslint-config 2.0.0 → 2.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/index.js CHANGED
@@ -1,28 +1,33 @@
1
- import {
2
- init_esm_shims
3
- } from "./chunk-GJINZYDK.js";
4
-
5
- // src/index.ts
6
- init_esm_shims();
7
-
8
1
  // src/factory.ts
9
- init_esm_shims();
10
2
  import fs from "node:fs";
11
3
  import process3 from "node:process";
12
4
  import { FlatConfigComposer } from "eslint-flat-config-utils";
13
5
  import { isPackageExists as isPackageExists2 } from "local-pkg";
14
6
 
15
- // src/configs/index.ts
16
- init_esm_shims();
17
-
18
- // src/configs/comments.ts
19
- init_esm_shims();
20
-
21
7
  // src/utils.ts
22
- init_esm_shims();
23
8
  import process from "node:process";
24
9
  import { isPackageExists } from "local-pkg";
25
10
  import c from "picocolors";
11
+ var parserPlain = {
12
+ meta: {
13
+ name: "parser-plain"
14
+ },
15
+ parseForESLint: (code) => ({
16
+ ast: {
17
+ body: [],
18
+ comments: [],
19
+ loc: { end: code.length, start: 0 },
20
+ range: [0, code.length],
21
+ tokens: [],
22
+ type: "Program"
23
+ },
24
+ scopeManager: null,
25
+ services: { isPlain: true },
26
+ visitorKeys: {
27
+ Program: []
28
+ }
29
+ })
30
+ };
26
31
  async function combine(...configs) {
27
32
  const resolved = await Promise.all(configs);
28
33
  return resolved.flat();
@@ -65,48 +70,23 @@ async function interopDefault(m) {
65
70
  async function ensurePackages(packages) {
66
71
  if (process.env.CI || process.stdout.isTTY === false)
67
72
  return;
68
- const nonExistingPackages = packages.filter((i) => !isPackageExists(i));
73
+ const nonExistingPackages = packages.filter((i) => i && !isPackageExists(i));
69
74
  if (nonExistingPackages.length === 0)
70
75
  return;
71
- const { default: prompts } = await import("./prompts-X5AQPJQZ.js");
72
- const { result } = await prompts([
73
- {
74
- initial: true,
75
- message: `The following ${nonExistingPackages.length === 1 ? "package is" : "packages are"} required for this config: ${c.green(nonExistingPackages.join(c.white(", ")))}. Do you want to install them?`,
76
- name: "result",
77
- type: "confirm"
78
- }
79
- ]);
76
+ const p = await import("@clack/prompts");
77
+ const result = await p.confirm({
78
+ message: `The following ${nonExistingPackages.length === 1 ? "package is" : "packages are"} required for this config: ${c.green(nonExistingPackages.join(c.white(", ")))}. Do you want to install them?`
79
+ });
80
80
  if (result)
81
81
  await import("@antfu/install-pkg").then((i) => i.installPackage(nonExistingPackages, { dev: true }));
82
82
  }
83
- var parserPlain = {
84
- meta: {
85
- name: "parser-plain"
86
- },
87
- parseForESLint: (code) => ({
88
- ast: {
89
- body: [],
90
- comments: [],
91
- loc: { end: code.length, start: 0 },
92
- range: [0, code.length],
93
- tokens: [],
94
- type: "Program"
95
- },
96
- scopeManager: null,
97
- services: { isPlain: true },
98
- visitorKeys: {
99
- Program: []
100
- }
101
- })
102
- };
103
83
 
104
84
  // src/configs/comments.ts
105
85
  async function comments() {
106
86
  const pluginComments = await interopDefault(import("eslint-plugin-eslint-comments"));
107
87
  return [
108
88
  {
109
- name: "config:eslint-comments",
89
+ name: "config/eslint-comments/rules",
110
90
  plugins: {
111
91
  "eslint-comments": pluginComments
112
92
  },
@@ -120,11 +100,7 @@ async function comments() {
120
100
  ];
121
101
  }
122
102
 
123
- // src/configs/formatters.ts
124
- init_esm_shims();
125
-
126
103
  // src/globs.ts
127
- init_esm_shims();
128
104
  var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
129
105
  var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
130
106
  var GLOB_JS = "**/*.?([cm])js";
@@ -199,11 +175,7 @@ var GLOB_EXCLUDE = [
199
175
  "**/components.d.ts"
200
176
  ];
201
177
 
202
- // src/configs/stylistic.ts
203
- init_esm_shims();
204
-
205
178
  // src/plugins.ts
206
- init_esm_shims();
207
179
  import { default as default2 } from "eslint-plugin-antfu";
208
180
  import * as pluginImport from "eslint-plugin-import-x";
209
181
 
@@ -239,7 +211,7 @@ async function stylistic(options = {}) {
239
211
  }
240
212
  return [
241
213
  {
242
- name: "config:stylistic",
214
+ name: "config/stylistic/rules",
243
215
  plugins: {
244
216
  antfu: default2,
245
217
  style: pluginStylistic
@@ -263,9 +235,6 @@ async function stylistic(options = {}) {
263
235
 
264
236
  // src/configs/formatters.ts
265
237
  async function formatters(options = {}, stylistic2 = {}) {
266
- await ensurePackages([
267
- "eslint-plugin-format"
268
- ]);
269
238
  if (options === true) {
270
239
  options = {
271
240
  css: true,
@@ -274,6 +243,9 @@ async function formatters(options = {}, stylistic2 = {}) {
274
243
  markdown: true
275
244
  };
276
245
  }
246
+ await ensurePackages([
247
+ "eslint-plugin-format"
248
+ ]);
277
249
  const {
278
250
  indent,
279
251
  quotes,
@@ -298,7 +270,7 @@ async function formatters(options = {}, stylistic2 = {}) {
298
270
  const pluginFormat = await interopDefault(import("eslint-plugin-format"));
299
271
  const configs = [
300
272
  {
301
- name: "config:formatter:setup",
273
+ name: "config/formatter/setup",
302
274
  plugins: {
303
275
  format: pluginFormat
304
276
  }
@@ -311,7 +283,7 @@ async function formatters(options = {}, stylistic2 = {}) {
311
283
  languageOptions: {
312
284
  parser: parserPlain
313
285
  },
314
- name: "config:formatter:css",
286
+ name: "config/formatter/css",
315
287
  rules: {
316
288
  "format/prettier": ["error", {
317
289
  ...prettierOptions,
@@ -324,7 +296,7 @@ async function formatters(options = {}, stylistic2 = {}) {
324
296
  languageOptions: {
325
297
  parser: parserPlain
326
298
  },
327
- name: "config:formatter:scss",
299
+ name: "config/formatter/scss",
328
300
  rules: {
329
301
  "format/prettier": ["error", {
330
302
  ...prettierOptions,
@@ -337,7 +309,7 @@ async function formatters(options = {}, stylistic2 = {}) {
337
309
  languageOptions: {
338
310
  parser: parserPlain
339
311
  },
340
- name: "config:formatter:less",
312
+ name: "config/formatter/less",
341
313
  rules: {
342
314
  "format/prettier": ["error", {
343
315
  ...prettierOptions,
@@ -353,7 +325,7 @@ async function formatters(options = {}, stylistic2 = {}) {
353
325
  languageOptions: {
354
326
  parser: parserPlain
355
327
  },
356
- name: "config:formatter:html",
328
+ name: "config/formatter/html",
357
329
  rules: {
358
330
  "format/prettier": ["error", {
359
331
  ...prettierOptions,
@@ -369,7 +341,7 @@ async function formatters(options = {}, stylistic2 = {}) {
369
341
  languageOptions: {
370
342
  parser: parserPlain
371
343
  },
372
- name: "config:formatter:markdown",
344
+ name: "config/formatter/markdown",
373
345
  rules: {
374
346
  [`format/${formater}`]: [
375
347
  "error",
@@ -392,7 +364,7 @@ async function formatters(options = {}, stylistic2 = {}) {
392
364
  languageOptions: {
393
365
  parser: parserPlain
394
366
  },
395
- name: "config:formatter:graphql",
367
+ name: "config/formatter/graphql",
396
368
  rules: {
397
369
  "format/prettier": ["error", {
398
370
  ...prettierOptions,
@@ -405,7 +377,6 @@ async function formatters(options = {}, stylistic2 = {}) {
405
377
  }
406
378
 
407
379
  // src/configs/ignores.ts
408
- init_esm_shims();
409
380
  function ignores() {
410
381
  return [
411
382
  {
@@ -415,14 +386,13 @@ function ignores() {
415
386
  }
416
387
 
417
388
  // src/configs/imports.ts
418
- init_esm_shims();
419
389
  function imports(options = {}) {
420
390
  const {
421
391
  stylistic: stylistic2 = true
422
392
  } = options;
423
393
  return [
424
394
  {
425
- name: "config:imports",
395
+ name: "config/imports/rules",
426
396
  plugins: {
427
397
  antfu: default2,
428
398
  import: pluginImport
@@ -447,7 +417,7 @@ function imports(options = {}) {
447
417
  },
448
418
  {
449
419
  files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
450
- name: "config:disables:imports-bin",
420
+ name: "config/imports/disables/bin",
451
421
  rules: {
452
422
  "antfu/no-import-dist": "off",
453
423
  "antfu/no-import-node-modules-by-path": "off"
@@ -457,7 +427,6 @@ function imports(options = {}) {
457
427
  }
458
428
 
459
429
  // src/configs/javascript.ts
460
- init_esm_shims();
461
430
  import globals from "globals";
462
431
  async function javascript(options = {}) {
463
432
  const {
@@ -494,7 +463,7 @@ async function javascript(options = {}) {
494
463
  linterOptions: {
495
464
  reportUnusedDisableDirectives: true
496
465
  },
497
- name: "config:javascript",
466
+ name: "config/javascript/rules",
498
467
  plugins: {
499
468
  "antfu": default2,
500
469
  "unused-imports": pluginUnusedImports
@@ -691,7 +660,7 @@ async function javascript(options = {}) {
691
660
  },
692
661
  {
693
662
  files: [`scripts/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
694
- name: "config:disables:cli",
663
+ name: "config/javascript/disables/cli",
695
664
  rules: {
696
665
  "no-console": "off"
697
666
  }
@@ -700,7 +669,6 @@ async function javascript(options = {}) {
700
669
  }
701
670
 
702
671
  // src/configs/jsdoc.ts
703
- init_esm_shims();
704
672
  async function jsdoc(options = {}) {
705
673
  const {
706
674
  stylistic: stylistic2 = true
@@ -708,7 +676,7 @@ async function jsdoc(options = {}) {
708
676
  const pluginJsdoc = await interopDefault(import("eslint-plugin-jsdoc"));
709
677
  return [
710
678
  {
711
- name: "config:jsdoc",
679
+ name: "config/jsdoc/rules",
712
680
  plugins: {
713
681
  jsdoc: pluginJsdoc
714
682
  },
@@ -738,7 +706,6 @@ async function jsdoc(options = {}) {
738
706
  }
739
707
 
740
708
  // src/configs/jsonc.ts
741
- init_esm_shims();
742
709
  async function jsonc(options = {}) {
743
710
  const {
744
711
  files = [GLOB_JSON, GLOB_JSON5, GLOB_JSONC],
@@ -757,7 +724,7 @@ async function jsonc(options = {}) {
757
724
  ]);
758
725
  return [
759
726
  {
760
- name: "config:jsonc:setup",
727
+ name: "config/jsonc/setup",
761
728
  plugins: {
762
729
  jsonc: pluginJsonc
763
730
  }
@@ -767,7 +734,7 @@ async function jsonc(options = {}) {
767
734
  languageOptions: {
768
735
  parser: parserJsonc
769
736
  },
770
- name: "config:jsonc:rules",
737
+ name: "config/jsonc/rules",
771
738
  rules: {
772
739
  "jsonc/no-bigint-literals": "error",
773
740
  "jsonc/no-binary-expression": "error",
@@ -822,7 +789,6 @@ async function jsonc(options = {}) {
822
789
  }
823
790
 
824
791
  // src/configs/markdown.ts
825
- init_esm_shims();
826
792
  import { mergeProcessors, processorPassThrough } from "eslint-merge-processors";
827
793
  async function markdown(options = {}) {
828
794
  const {
@@ -833,7 +799,7 @@ async function markdown(options = {}) {
833
799
  const markdown2 = await interopDefault(import("eslint-plugin-markdown"));
834
800
  return [
835
801
  {
836
- name: "config:markdown:setup",
802
+ name: "config/markdown/setup",
837
803
  plugins: {
838
804
  markdown: markdown2
839
805
  }
@@ -841,7 +807,7 @@ async function markdown(options = {}) {
841
807
  {
842
808
  files,
843
809
  ignores: [GLOB_MARKDOWN_IN_MARKDOWN],
844
- name: "config:markdown:processor",
810
+ name: "config/markdown/processor",
845
811
  // `eslint-plugin-markdown` only creates virtual files for code blocks,
846
812
  // but not the markdown file itself. We use `eslint-merge-processors` to
847
813
  // add a pass-through processor for the markdown file itself.
@@ -855,7 +821,7 @@ async function markdown(options = {}) {
855
821
  languageOptions: {
856
822
  parser: parserPlain
857
823
  },
858
- name: "config:markdown:parser"
824
+ name: "config/markdown/parser"
859
825
  },
860
826
  {
861
827
  files: [
@@ -869,7 +835,7 @@ async function markdown(options = {}) {
869
835
  }
870
836
  }
871
837
  },
872
- name: "config:markdown:rules",
838
+ name: "config/markdown/disables",
873
839
  rules: {
874
840
  "import/newline-after-import": "off",
875
841
  "no-alert": "off",
@@ -920,12 +886,11 @@ async function markdown(options = {}) {
920
886
  }
921
887
 
922
888
  // src/configs/node.ts
923
- init_esm_shims();
924
889
  async function node() {
925
890
  const pluginNode = await interopDefault(import("eslint-plugin-n"));
926
891
  return [
927
892
  {
928
- name: "config:node",
893
+ name: "config/node/rules",
929
894
  plugins: {
930
895
  node: pluginNode
931
896
  },
@@ -944,7 +909,6 @@ async function node() {
944
909
  }
945
910
 
946
911
  // src/configs/perfectionist.ts
947
- init_esm_shims();
948
912
  async function perfectionist(options = {}) {
949
913
  const {
950
914
  overrides = {}
@@ -952,13 +916,13 @@ async function perfectionist(options = {}) {
952
916
  const pluginPerfectionist = await interopDefault(import("eslint-plugin-perfectionist"));
953
917
  return [
954
918
  {
955
- name: "config:perfectionist:setup",
919
+ name: "config/perfectionist/setup",
956
920
  plugins: {
957
921
  perfectionist: pluginPerfectionist
958
922
  }
959
923
  },
960
924
  {
961
- name: "config:perfectionist:rules",
925
+ name: "config/perfectionist/rules",
962
926
  rules: {
963
927
  "perfectionist/sort-classes": ["error", {
964
928
  groups: [
@@ -1012,12 +976,11 @@ async function perfectionist(options = {}) {
1012
976
  }
1013
977
 
1014
978
  // src/configs/sort.ts
1015
- init_esm_shims();
1016
979
  function sortPackageJson() {
1017
980
  return [
1018
981
  {
1019
982
  files: ["**/package.json"],
1020
- name: "config:sort:package-json",
983
+ name: "config/sort/package-json",
1021
984
  rules: {
1022
985
  "jsonc/sort-array-values": ["error", {
1023
986
  order: { type: "asc" },
@@ -1114,7 +1077,7 @@ function sortTsconfig() {
1114
1077
  return [
1115
1078
  {
1116
1079
  files: ["**/tsconfig.json", "**/tsconfig.*.json"],
1117
- name: "config:sort:tsconfig",
1080
+ name: "config/sort/tsconfig-json",
1118
1081
  rules: {
1119
1082
  "jsonc/sort-keys": [
1120
1083
  "error",
@@ -1237,7 +1200,6 @@ function sortTsconfig() {
1237
1200
  }
1238
1201
 
1239
1202
  // src/configs/test.ts
1240
- init_esm_shims();
1241
1203
  var _pluginTest;
1242
1204
  async function test(options = {}) {
1243
1205
  const {
@@ -1263,14 +1225,14 @@ async function test(options = {}) {
1263
1225
  };
1264
1226
  return [
1265
1227
  {
1266
- name: "config:test:setup",
1228
+ name: "config/test/setup",
1267
1229
  plugins: {
1268
1230
  test: _pluginTest
1269
1231
  }
1270
1232
  },
1271
1233
  {
1272
1234
  files,
1273
- name: "config:test:rules",
1235
+ name: "config/test/rules",
1274
1236
  rules: {
1275
1237
  "node/prefer-global/process": "off",
1276
1238
  "test/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
@@ -1286,7 +1248,6 @@ async function test(options = {}) {
1286
1248
  }
1287
1249
 
1288
1250
  // src/configs/typescript.ts
1289
- init_esm_shims();
1290
1251
  import process2 from "node:process";
1291
1252
  async function typescript(options = {}) {
1292
1253
  const {
@@ -1345,13 +1306,13 @@ async function typescript(options = {}) {
1345
1306
  ...parserOptions
1346
1307
  }
1347
1308
  },
1348
- name: `config:typescript:${typeAware ? "type-aware-parser" : "parser"}`
1309
+ name: `config/typescript/${typeAware ? "type-aware-parser" : "parser"}`
1349
1310
  };
1350
1311
  }
1351
1312
  return [
1352
1313
  // Install the plugins without globs, so they can be configured separately.
1353
1314
  {
1354
- name: "config:typescript:setup",
1315
+ name: "config/typescript/setup",
1355
1316
  plugins: {
1356
1317
  import: pluginImport,
1357
1318
  ts: pluginTs
@@ -1364,7 +1325,7 @@ async function typescript(options = {}) {
1364
1325
  ] : [makeParser(false, files)],
1365
1326
  {
1366
1327
  files,
1367
- name: "config:typescript:rules",
1328
+ name: "config/typescript/rules",
1368
1329
  rules: {
1369
1330
  ...renameRules(
1370
1331
  pluginTs.configs["eslint-recommended"].overrides[0].rules,
@@ -1424,7 +1385,7 @@ async function typescript(options = {}) {
1424
1385
  },
1425
1386
  {
1426
1387
  files: filesTypeAware,
1427
- name: "config:typescript:rules-type-aware",
1388
+ name: "config/typescript/rules-type-aware",
1428
1389
  rules: {
1429
1390
  ...tsconfigPath ? typeAwareRules : {},
1430
1391
  ...overrides
@@ -1432,7 +1393,7 @@ async function typescript(options = {}) {
1432
1393
  },
1433
1394
  {
1434
1395
  files: ["**/*.d.ts"],
1435
- name: "config:typescript:dts-overrides",
1396
+ name: "config/typescript/disables/dts",
1436
1397
  rules: {
1437
1398
  "eslint-comments/no-unlimited-disable": "off",
1438
1399
  "import/no-duplicates": "off",
@@ -1442,14 +1403,14 @@ async function typescript(options = {}) {
1442
1403
  },
1443
1404
  {
1444
1405
  files: ["**/*.{test,spec}.ts?(x)"],
1445
- name: "config:typescript:tests-overrides",
1406
+ name: "config/typescript/disables/test",
1446
1407
  rules: {
1447
1408
  "no-unused-expressions": "off"
1448
1409
  }
1449
1410
  },
1450
1411
  {
1451
1412
  files: ["**/*.js", "**/*.cjs"],
1452
- name: "config:typescript:javascript-overrides",
1413
+ name: "config/typescript/disables/cjs",
1453
1414
  rules: {
1454
1415
  "ts/no-require-imports": "off",
1455
1416
  "ts/no-var-requires": "off"
@@ -1459,12 +1420,11 @@ async function typescript(options = {}) {
1459
1420
  }
1460
1421
 
1461
1422
  // src/configs/unicorn.ts
1462
- init_esm_shims();
1463
1423
  async function unicorn() {
1464
1424
  const pluginUnicorn = await interopDefault(import("eslint-plugin-unicorn"));
1465
1425
  return [
1466
1426
  {
1467
- name: "config:unicorn",
1427
+ name: "config/unicorn/rules",
1468
1428
  plugins: {
1469
1429
  unicorn: pluginUnicorn
1470
1430
  },
@@ -1537,7 +1497,6 @@ async function unicorn() {
1537
1497
  }
1538
1498
 
1539
1499
  // src/configs/unocss.ts
1540
- init_esm_shims();
1541
1500
  async function unocss(options = {}) {
1542
1501
  const {
1543
1502
  attributify = true,
@@ -1546,12 +1505,16 @@ async function unocss(options = {}) {
1546
1505
  await ensurePackages([
1547
1506
  "@unocss/eslint-plugin"
1548
1507
  ]);
1549
- const pluginUnocss = await interopDefault(import("@unocss/eslint-plugin"));
1508
+ const [
1509
+ pluginUnoCSS
1510
+ ] = await Promise.all([
1511
+ interopDefault(import("@unocss/eslint-plugin"))
1512
+ ]);
1550
1513
  return [
1551
1514
  {
1552
- name: "config:unocss",
1515
+ name: "config/unocss",
1553
1516
  plugins: {
1554
- unocss: pluginUnocss
1517
+ unocss: pluginUnoCSS
1555
1518
  },
1556
1519
  rules: {
1557
1520
  "unocss/order": "warn",
@@ -1567,7 +1530,6 @@ async function unocss(options = {}) {
1567
1530
  }
1568
1531
 
1569
1532
  // src/configs/vue.ts
1570
- init_esm_shims();
1571
1533
  import { mergeProcessors as mergeProcessors2 } from "eslint-merge-processors";
1572
1534
  async function vue(options = {}) {
1573
1535
  const {
@@ -1611,7 +1573,7 @@ async function vue(options = {}) {
1611
1573
  watchEffect: "readonly"
1612
1574
  }
1613
1575
  },
1614
- name: "config:vue:setup",
1576
+ name: "config/vue/setup",
1615
1577
  plugins: {
1616
1578
  vue: pluginVue
1617
1579
  }
@@ -1629,7 +1591,7 @@ async function vue(options = {}) {
1629
1591
  sourceType: "module"
1630
1592
  }
1631
1593
  },
1632
- name: "config:vue:rules",
1594
+ name: "config/vue/rules",
1633
1595
  processor: sfcBlocks === false ? pluginVue.processors[".vue"] : mergeProcessors2([
1634
1596
  pluginVue.processors[".vue"],
1635
1597
  processorVueBlocks({
@@ -1749,7 +1711,6 @@ async function vue(options = {}) {
1749
1711
  }
1750
1712
 
1751
1713
  // src/configs/yaml.ts
1752
- init_esm_shims();
1753
1714
  async function yaml(options = {}) {
1754
1715
  const {
1755
1716
  files = [GLOB_YAML],
@@ -1769,7 +1730,7 @@ async function yaml(options = {}) {
1769
1730
  ]);
1770
1731
  return [
1771
1732
  {
1772
- name: "config:yaml:setup",
1733
+ name: "config/yaml/setup",
1773
1734
  plugins: {
1774
1735
  yaml: pluginYaml
1775
1736
  }
@@ -1779,7 +1740,7 @@ async function yaml(options = {}) {
1779
1740
  languageOptions: {
1780
1741
  parser: parserYaml
1781
1742
  },
1782
- name: "config:yaml:rules",
1743
+ name: "config/yaml/rules",
1783
1744
  rules: {
1784
1745
  "style/spaced-comment": "off",
1785
1746
  "yaml/block-mapping": "error",
@@ -1975,9 +1936,6 @@ function getOverrides(options, key) {
1975
1936
  };
1976
1937
  }
1977
1938
 
1978
- // src/types.ts
1979
- init_esm_shims();
1980
-
1981
1939
  // src/index.ts
1982
1940
  var src_default = config;
1983
1941
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivanmaxlogiudice/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Personal ESLint config",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -45,32 +45,32 @@
45
45
  }
46
46
  },
47
47
  "dependencies": {
48
- "@antfu/install-pkg": "^0.3.2",
48
+ "@antfu/install-pkg": "^0.3.3",
49
49
  "@clack/prompts": "^0.7.0",
50
- "@stylistic/eslint-plugin": "^1.7.2",
51
- "@typescript-eslint/eslint-plugin": "^7.7.0",
52
- "@typescript-eslint/parser": "^7.7.0",
50
+ "@stylistic/eslint-plugin": "^1.8.1",
51
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
52
+ "@typescript-eslint/parser": "^7.8.0",
53
53
  "detect-indent": "^7.0.1",
54
54
  "eslint-config-flat-gitignore": "^0.1.5",
55
- "eslint-flat-config-utils": "^0.2.3",
55
+ "eslint-flat-config-utils": "^0.2.4",
56
56
  "eslint-merge-processors": "^0.1.0",
57
- "eslint-plugin-antfu": "^2.1.2",
57
+ "eslint-plugin-antfu": "^2.1.3",
58
58
  "eslint-plugin-eslint-comments": "^3.2.0",
59
59
  "eslint-plugin-import-x": "^0.5.0",
60
60
  "eslint-plugin-jsdoc": "^48.2.3",
61
61
  "eslint-plugin-jsonc": "^2.15.1",
62
- "eslint-plugin-markdown": "^4.0.1",
63
- "eslint-plugin-n": "^17.2.1",
62
+ "eslint-plugin-markdown": "^5.0.0",
63
+ "eslint-plugin-n": "^17.5.1",
64
64
  "eslint-plugin-no-only-tests": "^3.1.0",
65
- "eslint-plugin-perfectionist": "^2.9.0",
65
+ "eslint-plugin-perfectionist": "^2.10.0",
66
66
  "eslint-plugin-unicorn": "^52.0.0",
67
- "eslint-plugin-unused-imports": "^3.1.0",
68
- "eslint-plugin-vitest": "^0.5.3",
67
+ "eslint-plugin-unused-imports": "^3.2.0",
68
+ "eslint-plugin-vitest": "^0.5.4",
69
69
  "eslint-plugin-vue": "^9.25.0",
70
70
  "eslint-plugin-yml": "^1.14.0",
71
71
  "eslint-processor-vue-blocks": "^0.1.2",
72
- "eslint-typegen": "^0.2.3",
73
- "globals": "^15.0.0",
72
+ "eslint-typegen": "^0.2.4",
73
+ "globals": "^15.1.0",
74
74
  "jsonc-eslint-parser": "^2.4.0",
75
75
  "local-pkg": "^0.5.0",
76
76
  "parse-gitignore": "^2.0.0",
@@ -80,17 +80,17 @@
80
80
  "yargs": "^17.7.2"
81
81
  },
82
82
  "devDependencies": {
83
- "@eslint/config-inspector": "^0.4.6",
84
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
83
+ "@eslint/config-inspector": "^0.4.8",
84
+ "@stylistic/eslint-plugin-migrate": "^1.8.1",
85
85
  "@types/eslint": "^8.56.10",
86
86
  "@types/fs-extra": "^11.0.4",
87
- "@types/node": "^20.12.7",
87
+ "@types/node": "^20.12.10",
88
88
  "@types/prompts": "^2.4.9",
89
89
  "@types/yargs": "^17.0.32",
90
90
  "@unocss/eslint-plugin": "^0.59.4",
91
- "bumpp": "^9.4.0",
92
- "bundle-require": "^4.0.2",
93
- "eslint": "^9.1.0",
91
+ "bumpp": "^9.4.1",
92
+ "bundle-require": "^4.1.0",
93
+ "eslint": "^9.2.0",
94
94
  "eslint-plugin-format": "^0.1.1",
95
95
  "esno": "^4.7.0",
96
96
  "execa": "^8.0.1",
@@ -100,8 +100,8 @@
100
100
  "simple-git-hooks": "^2.11.1",
101
101
  "tsup": "^8.0.2",
102
102
  "typescript": "^5.4.5",
103
- "vitest": "^1.5.0",
104
- "vue": "^3.4.23"
103
+ "vitest": "^1.6.0",
104
+ "vue": "^3.4.27"
105
105
  },
106
106
  "engines": {
107
107
  "node": ">=18.12.0"