@antfu/eslint-config 2.11.6 → 2.12.0

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 CHANGED
@@ -370,7 +370,7 @@ export default antfu()
370
370
  )
371
371
  // overrides any named configs
372
372
  .override(
373
- 'antfu:imports',
373
+ 'antfu/imports',
374
374
  {
375
375
  rules: {
376
376
  'import/order': ['error', { 'newlines-between': 'always' }],
package/dist/cli.cjs CHANGED
@@ -48,8 +48,8 @@ var import_picocolors = __toESM(require("picocolors"), 1);
48
48
  var package_default = {
49
49
  name: "@antfu/eslint-config",
50
50
  type: "module",
51
- version: "2.11.6",
52
- packageManager: "pnpm@8.15.5",
51
+ version: "2.12.0",
52
+ packageManager: "pnpm@8.15.6",
53
53
  description: "Anthony's ESLint config",
54
54
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
55
55
  license: "MIT",
@@ -137,26 +137,26 @@ var package_default = {
137
137
  "@antfu/install-pkg": "^0.3.2",
138
138
  "@clack/prompts": "^0.7.0",
139
139
  "@stylistic/eslint-plugin": "^1.7.0",
140
- "@typescript-eslint/eslint-plugin": "^7.4.0",
141
- "@typescript-eslint/parser": "^7.4.0",
142
- "eslint-config-flat-gitignore": "^0.1.3",
143
- "eslint-flat-config-utils": "^0.1.2",
140
+ "@typescript-eslint/eslint-plugin": "^7.5.0",
141
+ "@typescript-eslint/parser": "^7.5.0",
142
+ "eslint-config-flat-gitignore": "^0.1.5",
143
+ "eslint-flat-config-utils": "^0.2.0",
144
144
  "eslint-merge-processors": "^0.1.0",
145
145
  "eslint-plugin-antfu": "^2.1.2",
146
146
  "eslint-plugin-eslint-comments": "^3.2.0",
147
- "eslint-plugin-import-x": "^0.4.4",
147
+ "eslint-plugin-import-x": "^0.5.0",
148
148
  "eslint-plugin-jsdoc": "^48.2.2",
149
- "eslint-plugin-jsonc": "^2.14.1",
149
+ "eslint-plugin-jsonc": "^2.15.0",
150
150
  "eslint-plugin-markdown": "^4.0.1",
151
151
  "eslint-plugin-n": "^16.6.2",
152
152
  "eslint-plugin-no-only-tests": "^3.1.0",
153
153
  "eslint-plugin-perfectionist": "^2.7.0",
154
- "eslint-plugin-toml": "^0.10.0",
154
+ "eslint-plugin-toml": "^0.11.0",
155
155
  "eslint-plugin-unicorn": "^51.0.1",
156
156
  "eslint-plugin-unused-imports": "^3.1.0",
157
- "eslint-plugin-vitest": "^0.4.0",
157
+ "eslint-plugin-vitest": "^0.4.1",
158
158
  "eslint-plugin-vue": "^9.24.0",
159
- "eslint-plugin-yml": "^1.13.2",
159
+ "eslint-plugin-yml": "^1.14.0",
160
160
  "eslint-processor-vue-blocks": "^0.1.1",
161
161
  globals: "^15.0.0",
162
162
  "jsonc-eslint-parser": "^2.4.0",
@@ -172,14 +172,14 @@ var package_default = {
172
172
  "@antfu/eslint-config": "workspace:*",
173
173
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
174
174
  "@antfu/ni": "^0.21.12",
175
- "@eslint/config-inspector": "^0.1.0",
175
+ "@eslint/config-inspector": "^0.2.1",
176
176
  "@stylistic/eslint-plugin-migrate": "^1.7.0",
177
- "@types/eslint": "^8.56.6",
177
+ "@types/eslint": "^8.56.7",
178
178
  "@types/fs-extra": "^11.0.4",
179
179
  "@types/node": "^20.12.2",
180
180
  "@types/prompts": "^2.4.9",
181
181
  "@types/yargs": "^17.0.32",
182
- "@unocss/eslint-plugin": "^0.58.8",
182
+ "@unocss/eslint-plugin": "^0.58.9",
183
183
  "astro-eslint-parser": "^0.16.3",
184
184
  bumpp: "^9.4.0",
185
185
  eslint: "9.0.0-rc.0",
package/dist/cli.js CHANGED
@@ -19,8 +19,8 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@antfu/eslint-config",
21
21
  type: "module",
22
- version: "2.11.6",
23
- packageManager: "pnpm@8.15.5",
22
+ version: "2.12.0",
23
+ packageManager: "pnpm@8.15.6",
24
24
  description: "Anthony's ESLint config",
25
25
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
26
26
  license: "MIT",
@@ -108,26 +108,26 @@ var package_default = {
108
108
  "@antfu/install-pkg": "^0.3.2",
109
109
  "@clack/prompts": "^0.7.0",
110
110
  "@stylistic/eslint-plugin": "^1.7.0",
111
- "@typescript-eslint/eslint-plugin": "^7.4.0",
112
- "@typescript-eslint/parser": "^7.4.0",
113
- "eslint-config-flat-gitignore": "^0.1.3",
114
- "eslint-flat-config-utils": "^0.1.2",
111
+ "@typescript-eslint/eslint-plugin": "^7.5.0",
112
+ "@typescript-eslint/parser": "^7.5.0",
113
+ "eslint-config-flat-gitignore": "^0.1.5",
114
+ "eslint-flat-config-utils": "^0.2.0",
115
115
  "eslint-merge-processors": "^0.1.0",
116
116
  "eslint-plugin-antfu": "^2.1.2",
117
117
  "eslint-plugin-eslint-comments": "^3.2.0",
118
- "eslint-plugin-import-x": "^0.4.4",
118
+ "eslint-plugin-import-x": "^0.5.0",
119
119
  "eslint-plugin-jsdoc": "^48.2.2",
120
- "eslint-plugin-jsonc": "^2.14.1",
120
+ "eslint-plugin-jsonc": "^2.15.0",
121
121
  "eslint-plugin-markdown": "^4.0.1",
122
122
  "eslint-plugin-n": "^16.6.2",
123
123
  "eslint-plugin-no-only-tests": "^3.1.0",
124
124
  "eslint-plugin-perfectionist": "^2.7.0",
125
- "eslint-plugin-toml": "^0.10.0",
125
+ "eslint-plugin-toml": "^0.11.0",
126
126
  "eslint-plugin-unicorn": "^51.0.1",
127
127
  "eslint-plugin-unused-imports": "^3.1.0",
128
- "eslint-plugin-vitest": "^0.4.0",
128
+ "eslint-plugin-vitest": "^0.4.1",
129
129
  "eslint-plugin-vue": "^9.24.0",
130
- "eslint-plugin-yml": "^1.13.2",
130
+ "eslint-plugin-yml": "^1.14.0",
131
131
  "eslint-processor-vue-blocks": "^0.1.1",
132
132
  globals: "^15.0.0",
133
133
  "jsonc-eslint-parser": "^2.4.0",
@@ -143,14 +143,14 @@ var package_default = {
143
143
  "@antfu/eslint-config": "workspace:*",
144
144
  "@antfu/eslint-plugin-prettier": "^5.0.1-1",
145
145
  "@antfu/ni": "^0.21.12",
146
- "@eslint/config-inspector": "^0.1.0",
146
+ "@eslint/config-inspector": "^0.2.1",
147
147
  "@stylistic/eslint-plugin-migrate": "^1.7.0",
148
- "@types/eslint": "^8.56.6",
148
+ "@types/eslint": "^8.56.7",
149
149
  "@types/fs-extra": "^11.0.4",
150
150
  "@types/node": "^20.12.2",
151
151
  "@types/prompts": "^2.4.9",
152
152
  "@types/yargs": "^17.0.32",
153
- "@unocss/eslint-plugin": "^0.58.8",
153
+ "@unocss/eslint-plugin": "^0.58.9",
154
154
  "astro-eslint-parser": "^0.16.3",
155
155
  bumpp: "^9.4.0",
156
156
  eslint: "9.0.0-rc.0",
package/dist/index.cjs CHANGED
@@ -115,7 +115,7 @@ var import_eslint_plugin_perfectionist = __toESM(require("eslint-plugin-perfecti
115
115
  async function comments() {
116
116
  return [
117
117
  {
118
- name: "antfu:eslint-comments",
118
+ name: "antfu/eslint-comments/rules",
119
119
  plugins: {
120
120
  "eslint-comments": import_eslint_plugin_eslint_comments.default
121
121
  },
@@ -209,6 +209,8 @@ async function ignores() {
209
209
  return [
210
210
  {
211
211
  ignores: GLOB_EXCLUDE
212
+ // Awaits https://github.com/humanwhocodes/config-array/pull/131
213
+ // name: 'antfu/ignores',
212
214
  }
213
215
  ];
214
216
  }
@@ -220,7 +222,7 @@ async function imports(options = {}) {
220
222
  } = options;
221
223
  return [
222
224
  {
223
- name: "antfu:imports",
225
+ name: "antfu/imports/rules",
224
226
  plugins: {
225
227
  antfu: import_eslint_plugin_antfu.default,
226
228
  import: pluginImport
@@ -243,7 +245,7 @@ async function imports(options = {}) {
243
245
  },
244
246
  {
245
247
  files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
246
- name: "antfu:disables:imports-bin",
248
+ name: "antfu/imports/disables/bin",
247
249
  rules: {
248
250
  "antfu/no-import-dist": "off",
249
251
  "antfu/no-import-node-modules-by-path": "off"
@@ -283,7 +285,7 @@ async function javascript(options = {}) {
283
285
  linterOptions: {
284
286
  reportUnusedDisableDirectives: true
285
287
  },
286
- name: "antfu:javascript",
288
+ name: "antfu/javascript/rules",
287
289
  plugins: {
288
290
  "antfu": import_eslint_plugin_antfu.default,
289
291
  "unused-imports": import_eslint_plugin_unused_imports.default
@@ -460,7 +462,7 @@ async function javascript(options = {}) {
460
462
  },
461
463
  {
462
464
  files: [`scripts/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
463
- name: "antfu:disables:cli",
465
+ name: "antfu/javascript/disables/cli",
464
466
  rules: {
465
467
  "no-console": "off"
466
468
  }
@@ -551,7 +553,7 @@ async function jsdoc(options = {}) {
551
553
  } = options;
552
554
  return [
553
555
  {
554
- name: "antfu:jsdoc",
556
+ name: "antfu/jsdoc/rules",
555
557
  plugins: {
556
558
  jsdoc: await interopDefault(import("eslint-plugin-jsdoc"))
557
559
  },
@@ -599,7 +601,7 @@ async function jsonc(options = {}) {
599
601
  ]);
600
602
  return [
601
603
  {
602
- name: "antfu:jsonc:setup",
604
+ name: "antfu/jsonc/setup",
603
605
  plugins: {
604
606
  jsonc: pluginJsonc
605
607
  }
@@ -609,7 +611,7 @@ async function jsonc(options = {}) {
609
611
  languageOptions: {
610
612
  parser: parserJsonc
611
613
  },
612
- name: "antfu:jsonc:rules",
614
+ name: "antfu/jsonc/rules",
613
615
  rules: {
614
616
  "jsonc/no-bigint-literals": "error",
615
617
  "jsonc/no-binary-expression": "error",
@@ -666,7 +668,7 @@ async function markdown(options = {}) {
666
668
  const markdown2 = await interopDefault(import("eslint-plugin-markdown"));
667
669
  return [
668
670
  {
669
- name: "antfu:markdown:setup",
671
+ name: "antfu/markdown/setup",
670
672
  plugins: {
671
673
  markdown: markdown2
672
674
  }
@@ -674,7 +676,7 @@ async function markdown(options = {}) {
674
676
  {
675
677
  files,
676
678
  ignores: [GLOB_MARKDOWN_IN_MARKDOWN],
677
- name: "antfu:markdown:processor",
679
+ name: "antfu/markdown/processor",
678
680
  // `eslint-plugin-markdown` only creates virtual files for code blocks,
679
681
  // but not the markdown file itself. We use `eslint-merge-processors` to
680
682
  // add a pass-through processor for the markdown file itself.
@@ -688,7 +690,7 @@ async function markdown(options = {}) {
688
690
  languageOptions: {
689
691
  parser: parserPlain
690
692
  },
691
- name: "antfu:markdown:parser"
693
+ name: "antfu/markdown/parser"
692
694
  },
693
695
  {
694
696
  files: [
@@ -702,7 +704,7 @@ async function markdown(options = {}) {
702
704
  }
703
705
  }
704
706
  },
705
- name: "antfu:markdown:disables",
707
+ name: "antfu/markdown/disables",
706
708
  rules: {
707
709
  "import/newline-after-import": "off",
708
710
  "no-alert": "off",
@@ -756,7 +758,7 @@ async function markdown(options = {}) {
756
758
  async function node() {
757
759
  return [
758
760
  {
759
- name: "antfu:node",
761
+ name: "antfu/node/rules",
760
762
  plugins: {
761
763
  node: import_eslint_plugin_n.default
762
764
  },
@@ -778,7 +780,7 @@ async function node() {
778
780
  async function perfectionist() {
779
781
  return [
780
782
  {
781
- name: "antfu:perfectionist",
783
+ name: "antfu/perfectionist/setup",
782
784
  plugins: {
783
785
  perfectionist: import_eslint_plugin_perfectionist.default
784
786
  }
@@ -818,7 +820,7 @@ async function stylistic(options = {}) {
818
820
  });
819
821
  return [
820
822
  {
821
- name: "antfu:stylistic",
823
+ name: "antfu/stylistic/rules",
822
824
  plugins: {
823
825
  antfu: import_eslint_plugin_antfu.default,
824
826
  style: pluginStylistic
@@ -884,7 +886,7 @@ async function formatters(options = {}, stylistic2 = {}) {
884
886
  const pluginFormat = await interopDefault(import("eslint-plugin-format"));
885
887
  const configs = [
886
888
  {
887
- name: "antfu:formatter:setup",
889
+ name: "antfu/formatter/setup",
888
890
  plugins: {
889
891
  format: pluginFormat
890
892
  }
@@ -897,7 +899,7 @@ async function formatters(options = {}, stylistic2 = {}) {
897
899
  languageOptions: {
898
900
  parser: parserPlain
899
901
  },
900
- name: "antfu:formatter:css",
902
+ name: "antfu/formatter/css",
901
903
  rules: {
902
904
  "format/prettier": [
903
905
  "error",
@@ -913,7 +915,7 @@ async function formatters(options = {}, stylistic2 = {}) {
913
915
  languageOptions: {
914
916
  parser: parserPlain
915
917
  },
916
- name: "antfu:formatter:scss",
918
+ name: "antfu/formatter/scss",
917
919
  rules: {
918
920
  "format/prettier": [
919
921
  "error",
@@ -929,7 +931,7 @@ async function formatters(options = {}, stylistic2 = {}) {
929
931
  languageOptions: {
930
932
  parser: parserPlain
931
933
  },
932
- name: "antfu:formatter:less",
934
+ name: "antfu/formatter/less",
933
935
  rules: {
934
936
  "format/prettier": [
935
937
  "error",
@@ -948,7 +950,7 @@ async function formatters(options = {}, stylistic2 = {}) {
948
950
  languageOptions: {
949
951
  parser: parserPlain
950
952
  },
951
- name: "antfu:formatter:html",
953
+ name: "antfu/formatter/html",
952
954
  rules: {
953
955
  "format/prettier": [
954
956
  "error",
@@ -969,7 +971,7 @@ async function formatters(options = {}, stylistic2 = {}) {
969
971
  languageOptions: {
970
972
  parser: parserPlain
971
973
  },
972
- name: "antfu:formatter:markdown",
974
+ name: "antfu/formatter/markdown",
973
975
  rules: {
974
976
  [`format/${formater}`]: [
975
977
  "error",
@@ -991,7 +993,7 @@ async function formatters(options = {}, stylistic2 = {}) {
991
993
  languageOptions: {
992
994
  parser: parserPlain
993
995
  },
994
- name: "antfu:formatter:slidev",
996
+ name: "antfu/formatter/slidev",
995
997
  rules: {
996
998
  "format/prettier": [
997
999
  "error",
@@ -1015,7 +1017,7 @@ async function formatters(options = {}, stylistic2 = {}) {
1015
1017
  languageOptions: {
1016
1018
  parser: parserPlain
1017
1019
  },
1018
- name: "antfu:formatter:astro",
1020
+ name: "antfu/formatter/astro",
1019
1021
  rules: {
1020
1022
  "format/prettier": [
1021
1023
  "error",
@@ -1036,7 +1038,7 @@ async function formatters(options = {}, stylistic2 = {}) {
1036
1038
  languageOptions: {
1037
1039
  parser: parserPlain
1038
1040
  },
1039
- name: "antfu:formatter:graphql",
1041
+ name: "antfu/formatter/graphql",
1040
1042
  rules: {
1041
1043
  "format/prettier": [
1042
1044
  "error",
@@ -1081,7 +1083,7 @@ async function react(options = {}) {
1081
1083
  );
1082
1084
  return [
1083
1085
  {
1084
- name: "antfu:react:setup",
1086
+ name: "antfu/react/setup",
1085
1087
  plugins: {
1086
1088
  "react": pluginReact,
1087
1089
  "react-hooks": pluginReactHooks,
@@ -1102,7 +1104,7 @@ async function react(options = {}) {
1102
1104
  }
1103
1105
  }
1104
1106
  },
1105
- name: "antfu:react:rules",
1107
+ name: "antfu/react/rules",
1106
1108
  rules: {
1107
1109
  // recommended rules react-hooks
1108
1110
  "react-hooks/exhaustive-deps": "warn",
@@ -1151,7 +1153,7 @@ async function sortPackageJson() {
1151
1153
  return [
1152
1154
  {
1153
1155
  files: ["**/package.json"],
1154
- name: "antfu:sort:package-json",
1156
+ name: "antfu/sort/package-json",
1155
1157
  rules: {
1156
1158
  "jsonc/sort-array-values": [
1157
1159
  "error",
@@ -1252,7 +1254,7 @@ function sortTsconfig() {
1252
1254
  return [
1253
1255
  {
1254
1256
  files: ["**/tsconfig.json", "**/tsconfig.*.json"],
1255
- name: "antfu:sort:tsconfig",
1257
+ name: "antfu/sort/tsconfig-json",
1256
1258
  rules: {
1257
1259
  "jsonc/sort-keys": [
1258
1260
  "error",
@@ -1397,7 +1399,7 @@ async function svelte(options = {}) {
1397
1399
  ]);
1398
1400
  return [
1399
1401
  {
1400
- name: "antfu:svelte:setup",
1402
+ name: "antfu/svelte/setup",
1401
1403
  plugins: {
1402
1404
  svelte: pluginSvelte
1403
1405
  }
@@ -1411,7 +1413,7 @@ async function svelte(options = {}) {
1411
1413
  parser: options.typescript ? await interopDefault(import("@typescript-eslint/parser")) : null
1412
1414
  }
1413
1415
  },
1414
- name: "antfu:svelte:rules",
1416
+ name: "antfu/svelte/rules",
1415
1417
  processor: pluginSvelte.processors[".svelte"],
1416
1418
  rules: {
1417
1419
  "import/no-mutable-exports": "off",
@@ -1486,7 +1488,7 @@ async function test(options = {}) {
1486
1488
  ]);
1487
1489
  return [
1488
1490
  {
1489
- name: "antfu:test:setup",
1491
+ name: "antfu/test/setup",
1490
1492
  plugins: {
1491
1493
  test: {
1492
1494
  ...pluginVitest,
@@ -1500,7 +1502,7 @@ async function test(options = {}) {
1500
1502
  },
1501
1503
  {
1502
1504
  files,
1503
- name: "antfu:test:rules",
1505
+ name: "antfu/test/rules",
1504
1506
  rules: {
1505
1507
  "node/prefer-global/process": "off",
1506
1508
  "test/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
@@ -1574,13 +1576,13 @@ async function typescript(options = {}) {
1574
1576
  ...parserOptions
1575
1577
  }
1576
1578
  },
1577
- name: `antfu:typescript:${typeAware ? "type-aware-parser" : "parser"}`
1579
+ name: `antfu/typescript/${typeAware ? "type-aware-parser" : "parser"}`
1578
1580
  };
1579
1581
  }
1580
1582
  return [
1581
1583
  {
1582
1584
  // Install the plugins without globs, so they can be configured separately.
1583
- name: "antfu:typescript:setup",
1585
+ name: "antfu/typescript/setup",
1584
1586
  plugins: {
1585
1587
  antfu: import_eslint_plugin_antfu.default,
1586
1588
  ts: pluginTs
@@ -1593,7 +1595,7 @@ async function typescript(options = {}) {
1593
1595
  ] : [makeParser(false, files)],
1594
1596
  {
1595
1597
  files,
1596
- name: "antfu:typescript:rules",
1598
+ name: "antfu/typescript/rules",
1597
1599
  rules: {
1598
1600
  ...renameRules(
1599
1601
  pluginTs.configs["eslint-recommended"].overrides[0].rules,
@@ -1633,17 +1635,17 @@ async function typescript(options = {}) {
1633
1635
  ...overrides
1634
1636
  }
1635
1637
  },
1636
- {
1638
+ ...isTypeAware ? [{
1637
1639
  files: filesTypeAware,
1638
- name: "antfu:typescript:rules-type-aware",
1640
+ name: "antfu/typescript/rules-type-aware",
1639
1641
  rules: {
1640
1642
  ...tsconfigPath ? typeAwareRules : {},
1641
1643
  ...overrides
1642
1644
  }
1643
- },
1645
+ }] : [],
1644
1646
  {
1645
1647
  files: ["**/*.d.ts"],
1646
- name: "antfu:typescript:dts-overrides",
1648
+ name: "antfu/typescript/disables/dts",
1647
1649
  rules: {
1648
1650
  "eslint-comments/no-unlimited-disable": "off",
1649
1651
  "import/no-duplicates": "off",
@@ -1653,14 +1655,14 @@ async function typescript(options = {}) {
1653
1655
  },
1654
1656
  {
1655
1657
  files: ["**/*.{test,spec}.ts?(x)"],
1656
- name: "antfu:typescript:tests-overrides",
1658
+ name: "antfu/typescript/disables/test",
1657
1659
  rules: {
1658
1660
  "no-unused-expressions": "off"
1659
1661
  }
1660
1662
  },
1661
1663
  {
1662
1664
  files: ["**/*.js", "**/*.cjs"],
1663
- name: "antfu:typescript:javascript-overrides",
1665
+ name: "antfu/typescript/disables/cjs",
1664
1666
  rules: {
1665
1667
  "ts/no-require-imports": "off",
1666
1668
  "ts/no-var-requires": "off"
@@ -1673,7 +1675,7 @@ async function typescript(options = {}) {
1673
1675
  async function unicorn() {
1674
1676
  return [
1675
1677
  {
1676
- name: "antfu:unicorn",
1678
+ name: "antfu/unicorn/rules",
1677
1679
  plugins: {
1678
1680
  unicorn: import_eslint_plugin_unicorn.default
1679
1681
  },
@@ -1725,7 +1727,7 @@ async function unocss(options = {}) {
1725
1727
  ]);
1726
1728
  return [
1727
1729
  {
1728
- name: "antfu:unocss",
1730
+ name: "antfu/unocss",
1729
1731
  plugins: {
1730
1732
  unocss: pluginUnoCSS
1731
1733
  },
@@ -1787,7 +1789,7 @@ async function vue(options = {}) {
1787
1789
  watchEffect: "readonly"
1788
1790
  }
1789
1791
  },
1790
- name: "antfu:vue:setup",
1792
+ name: "antfu/vue/setup",
1791
1793
  plugins: {
1792
1794
  vue: pluginVue
1793
1795
  }
@@ -1805,7 +1807,7 @@ async function vue(options = {}) {
1805
1807
  sourceType: "module"
1806
1808
  }
1807
1809
  },
1808
- name: "antfu:vue:rules",
1810
+ name: "antfu/vue/rules",
1809
1811
  processor: sfcBlocks === false ? pluginVue.processors[".vue"] : (0, import_eslint_merge_processors2.mergeProcessors)([
1810
1812
  pluginVue.processors[".vue"],
1811
1813
  processorVueBlocks({
@@ -1929,7 +1931,7 @@ async function yaml(options = {}) {
1929
1931
  ]);
1930
1932
  return [
1931
1933
  {
1932
- name: "antfu:yaml:setup",
1934
+ name: "antfu/yaml/setup",
1933
1935
  plugins: {
1934
1936
  yaml: pluginYaml
1935
1937
  }
@@ -1939,7 +1941,7 @@ async function yaml(options = {}) {
1939
1941
  languageOptions: {
1940
1942
  parser: parserYaml
1941
1943
  },
1942
- name: "antfu:yaml:rules",
1944
+ name: "antfu/yaml/rules",
1943
1945
  rules: {
1944
1946
  "style/spaced-comment": "off",
1945
1947
  "yaml/block-mapping": "error",
@@ -1987,7 +1989,7 @@ async function toml(options = {}) {
1987
1989
  ]);
1988
1990
  return [
1989
1991
  {
1990
- name: "antfu:toml:setup",
1992
+ name: "antfu/toml/setup",
1991
1993
  plugins: {
1992
1994
  toml: pluginToml
1993
1995
  }
@@ -1997,7 +1999,7 @@ async function toml(options = {}) {
1997
1999
  languageOptions: {
1998
2000
  parser: parserToml
1999
2001
  },
2000
- name: "antfu:toml:rules",
2002
+ name: "antfu/toml/rules",
2001
2003
  rules: {
2002
2004
  "style/spaced-comment": "off",
2003
2005
  "toml/comma-style": "error",
@@ -2045,7 +2047,7 @@ async function astro(options = {}) {
2045
2047
  ]);
2046
2048
  return [
2047
2049
  {
2048
- name: "antfu:astro:setup",
2050
+ name: "antfu/astro/setup",
2049
2051
  plugins: {
2050
2052
  astro: pluginAstro
2051
2053
  }
@@ -2059,7 +2061,7 @@ async function astro(options = {}) {
2059
2061
  parser: parserTs
2060
2062
  }
2061
2063
  },
2062
- name: "antfu:astro:rules",
2064
+ name: "antfu/astro/rules",
2063
2065
  rules: {
2064
2066
  "astro/no-set-html-directive": "off",
2065
2067
  "astro/semi": "off",
@@ -2244,7 +2246,7 @@ function antfu(options = {}, ...userConfigs) {
2244
2246
  }, {});
2245
2247
  if (Object.keys(fusedConfig).length)
2246
2248
  configs.push([fusedConfig]);
2247
- let pipeline = new import_eslint_flat_config_utils.FlatConfigPipeline();
2249
+ let pipeline = new import_eslint_flat_config_utils.FlatConfigComposer();
2248
2250
  pipeline = pipeline.append(
2249
2251
  ...configs,
2250
2252
  ...userConfigs