@jiakun-zhao/eslint-config 4.1.2 → 4.1.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -2
  2. package/package.json +9 -8
package/dist/index.mjs CHANGED
@@ -6,6 +6,7 @@ import pluginAntfu from 'eslint-plugin-antfu';
6
6
  import pluginCommand from 'eslint-plugin-command';
7
7
  import pluginImportX from 'eslint-plugin-import-x';
8
8
  import pluginJsonc from 'eslint-plugin-jsonc';
9
+ import pluginOxlint from 'eslint-plugin-oxlint';
9
10
  import pluginPerfectionist from 'eslint-plugin-perfectionist';
10
11
  import * as pluginRegExp from 'eslint-plugin-regexp';
11
12
  import pluginUnicorn from 'eslint-plugin-unicorn';
@@ -374,7 +375,7 @@ function jsonc() {
374
375
  ];
375
376
  }
376
377
 
377
- const version = "4.1.2";
378
+ const version = "4.1.4";
378
379
 
379
380
  const name$3 = "astro-multi-top-level-element-indent";
380
381
  const _astroMultiTopLevelElementIndent = createRule({
@@ -1056,7 +1057,7 @@ async function vue() {
1056
1057
  }
1057
1058
 
1058
1059
  function index(options = {}) {
1059
- return composer(
1060
+ const result = composer(
1060
1061
  ignores(options),
1061
1062
  jsonc(),
1062
1063
  javascript(),
@@ -1075,6 +1076,7 @@ function index(options = {}) {
1075
1076
  unocss(),
1076
1077
  overrides()
1077
1078
  );
1079
+ return options.oxlint?.enable === false ? result : result.append(pluginOxlint.configs["flat/all"]).remove("oxlint/vue-svelte-exceptions").renamePlugins({ "@typescript-eslint": "ts", "import-x": "import" });
1078
1080
  }
1079
1081
 
1080
1082
  export { index as default };
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.2",
4
+ "version": "4.1.4",
5
5
  "description": "Jiakun Zhao's ESLint config.",
6
6
  "author": "Jiakun Zhao <hi@zhaojiakun.com>",
7
7
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@stylistic/eslint-plugin": "^4.2.0",
39
- "@typescript-eslint/eslint-plugin": "^8.31.1",
39
+ "@typescript-eslint/eslint-plugin": "^8.32.0",
40
40
  "@unocss/eslint-plugin": "66.1.0-beta.12",
41
41
  "eslint-config-flat-gitignore": "^2.1.0",
42
42
  "eslint-flat-config-utils": "^2.0.1",
@@ -44,20 +44,21 @@
44
44
  "eslint-plugin-command": "^3.2.0",
45
45
  "eslint-plugin-import-x": "^4.11.0",
46
46
  "eslint-plugin-jsonc": "^2.20.0",
47
+ "eslint-plugin-oxlint": "^0.16.9",
47
48
  "eslint-plugin-perfectionist": "^4.12.3",
48
49
  "eslint-plugin-regexp": "^2.7.0",
49
- "eslint-plugin-unicorn": "^59.0.0",
50
+ "eslint-plugin-unicorn": "^59.0.1",
50
51
  "eslint-plugin-unused-imports": "^4.1.4",
51
- "globals": "^16.0.0"
52
+ "globals": "^16.1.0"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@eslint/config-inspector": "^1.0.2",
55
56
  "@eslint/core": "^0.14.0",
56
57
  "@jiakun-zhao/utils": "^1.3.2",
57
- "@types/node": "^22.15.3",
58
- "@typescript-eslint/types": "^8.31.1",
58
+ "@types/node": "^22.15.17",
59
+ "@typescript-eslint/types": "^8.32.0",
59
60
  "bumpp": "^10.1.0",
60
- "eslint": "^9.25.1",
61
+ "eslint": "^9.26.0",
61
62
  "eslint-plugin-astro": "^1.3.1",
62
63
  "eslint-plugin-vue": "^10.1.0",
63
64
  "eslint-typegen": "^2.1.0",
@@ -65,7 +66,7 @@
65
66
  "tsx": "^4.19.4",
66
67
  "typescript": "^5.8.3",
67
68
  "unbuild": "^3.5.0",
68
- "vitest": "^3.1.2"
69
+ "vitest": "^3.1.3"
69
70
  },
70
71
  "scripts": {
71
72
  "build": "unbuild",