@jiakun-zhao/eslint-config 4.1.0 → 4.1.1

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.d.mts CHANGED
@@ -4,6 +4,9 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
4
4
  interface Options {
5
5
  ignores?: string[];
6
6
  gitignore?: FlatGitignoreOptions;
7
+ oxlint?: {
8
+ enable?: boolean;
9
+ };
7
10
  }
8
11
 
9
12
  declare function export_default(options?: Options): FlatConfigComposer;
package/dist/index.d.ts CHANGED
@@ -4,6 +4,9 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
4
4
  interface Options {
5
5
  ignores?: string[];
6
6
  gitignore?: FlatGitignoreOptions;
7
+ oxlint?: {
8
+ enable?: boolean;
9
+ };
7
10
  }
8
11
 
9
12
  declare function export_default(options?: Options): FlatConfigComposer;
package/dist/index.mjs CHANGED
@@ -375,7 +375,7 @@ function jsonc() {
375
375
  ];
376
376
  }
377
377
 
378
- const version = "4.1.0";
378
+ const version = "4.1.1";
379
379
 
380
380
  const name$3 = "astro-multi-top-level-element-indent";
381
381
  const _astroMultiTopLevelElementIndent = createRule({
@@ -623,7 +623,7 @@ function oxlint() {
623
623
  name: "oxlint",
624
624
  rules: renamePluginsInRules(pluginOxlint.configs.all.rules, {
625
625
  "@typescript-eslint": "ts",
626
- "import-x": "import"
626
+ "import": "import-x"
627
627
  })
628
628
  };
629
629
  }
@@ -1084,8 +1084,8 @@ function index(options = {}) {
1084
1084
  regexp(),
1085
1085
  command(),
1086
1086
  unocss(),
1087
- oxlint(),
1088
- overrides()
1087
+ overrides(),
1088
+ options.oxlint?.enable === false ? null : oxlint()
1089
1089
  );
1090
1090
  }
1091
1091
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jiakun-zhao/eslint-config",
3
3
  "type": "module",
4
- "version": "4.1.0",
4
+ "version": "4.1.1",
5
5
  "description": "Jiakun Zhao's ESLint config.",
6
6
  "author": "Jiakun Zhao <hi@zhaojiakun.com>",
7
7
  "license": "MIT",
@@ -18,9 +18,6 @@
18
18
  "main": "./dist/index.mjs",
19
19
  "module": "./dist/index.mjs",
20
20
  "types": "./dist/index.d.ts",
21
- "bin": {
22
- "oxlint-migrate": "./dist/cli.mjs"
23
- },
24
21
  "files": [
25
22
  "dist"
26
23
  ],
@@ -38,7 +35,6 @@
38
35
  }
39
36
  },
40
37
  "dependencies": {
41
- "@oxlint/migrate": "^0.16.8",
42
38
  "@stylistic/eslint-plugin": "^4.2.0",
43
39
  "@typescript-eslint/eslint-plugin": "^8.31.1",
44
40
  "@unocss/eslint-plugin": "66.1.0-beta.12",
@@ -58,16 +54,16 @@
58
54
  "devDependencies": {
59
55
  "@eslint/config-inspector": "^1.0.2",
60
56
  "@eslint/core": "^0.13.0",
61
- "@jiakun-zhao/utils": "^1.3.1",
57
+ "@jiakun-zhao/utils": "^1.3.2",
62
58
  "@types/node": "^22.15.3",
63
59
  "@typescript-eslint/types": "^8.31.1",
64
60
  "bumpp": "^10.1.0",
65
61
  "eslint": "^9.25.1",
66
62
  "eslint-plugin-astro": "^1.3.1",
67
- "eslint-plugin-vue": "^10.0.1",
63
+ "eslint-plugin-vue": "^10.1.0",
68
64
  "eslint-typegen": "^2.1.0",
69
65
  "eslint-vitest-rule-tester": "^2.2.0",
70
- "tsx": "^4.19.3",
66
+ "tsx": "^4.19.4",
71
67
  "typescript": "^5.8.3",
72
68
  "unbuild": "^3.5.0",
73
69
  "vitest": "^3.1.2"
package/dist/cli.d.mts DELETED
@@ -1 +0,0 @@
1
-
package/dist/cli.d.ts DELETED
@@ -1 +0,0 @@
1
-
package/dist/cli.mjs DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import '@oxlint/migrate/dist/bin/oxlint-migrate.mjs';