@antfu/eslint-config 4.0.1 → 4.1.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/dist/cli.js CHANGED
@@ -12,7 +12,7 @@ import c from "picocolors";
12
12
  var package_default = {
13
13
  name: "@antfu/eslint-config",
14
14
  type: "module",
15
- version: "4.0.1",
15
+ version: "4.1.0",
16
16
  packageManager: "pnpm@10.0.0",
17
17
  description: "Anthony's ESLint config",
18
18
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
package/dist/index.js CHANGED
@@ -697,6 +697,7 @@ async function imports(options = {}) {
697
697
  "antfu/import-dedupe": "error",
698
698
  "antfu/no-import-dist": "error",
699
699
  "antfu/no-import-node-modules-by-path": "error",
700
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
700
701
  "import/first": "error",
701
702
  "import/no-duplicates": "error",
702
703
  "import/no-mutable-exports": "error",
@@ -2019,6 +2020,7 @@ async function typescript(options = {}) {
2019
2020
  "ts/consistent-type-definitions": ["error", "interface"],
2020
2021
  "ts/consistent-type-imports": ["error", {
2021
2022
  disallowTypeAnnotations: false,
2023
+ fixStyle: "separate-type-imports",
2022
2024
  prefer: "type-imports"
2023
2025
  }],
2024
2026
  "ts/method-signature-style": ["error", "property"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.1",
4
+ "version": "4.1.0",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -151,7 +151,7 @@
151
151
  "typescript": "^5.7.3",
152
152
  "vitest": "^3.0.4",
153
153
  "vue": "^3.5.13",
154
- "@antfu/eslint-config": "4.0.1"
154
+ "@antfu/eslint-config": "4.1.0"
155
155
  },
156
156
  "resolutions": {
157
157
  "@eslint-community/eslint-utils": "^4.4.1",