@jiakun-zhao/eslint-config 4.1.5 → 4.1.7

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 +5 -3
  2. package/package.json +15 -15
package/dist/index.mjs CHANGED
@@ -375,7 +375,7 @@ function jsonc() {
375
375
  ];
376
376
  }
377
377
 
378
- const version = "4.1.5";
378
+ const version = "4.1.7";
379
379
 
380
380
  const name$3 = "astro-multi-top-level-element-indent";
381
381
  const _astroMultiTopLevelElementIndent = createRule({
@@ -785,7 +785,9 @@ function typescript() {
785
785
  files: [
786
786
  "**/*.?([cm])ts",
787
787
  "**/*.?([cm])tsx",
788
- "**/*.vue"
788
+ "**/*.vue",
789
+ "**/*.astro/*.ts",
790
+ "*.astro/*.ts"
789
791
  ],
790
792
  languageOptions: {
791
793
  parser: tsParser,
@@ -1076,7 +1078,7 @@ function index(options = {}) {
1076
1078
  unocss(),
1077
1079
  overrides()
1078
1080
  );
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" });
1081
+ return options.oxlint?.enable === true ? result.append(pluginOxlint.configs["flat/all"]).remove("oxlint/vue-svelte-exceptions").renamePlugins({ "@typescript-eslint": "ts", "import-x": "import" }) : result;
1080
1082
  }
1081
1083
 
1082
1084
  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.5",
4
+ "version": "4.1.7",
5
5
  "description": "Jiakun Zhao's ESLint config.",
6
6
  "author": "Jiakun Zhao <hi@zhaojiakun.com>",
7
7
  "license": "MIT",
@@ -35,38 +35,38 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@stylistic/eslint-plugin": "^4.4.0",
39
- "@typescript-eslint/eslint-plugin": "^8.33.0",
38
+ "@stylistic/eslint-plugin": "^4.4.1",
39
+ "@typescript-eslint/eslint-plugin": "^8.34.1",
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.1.0",
43
43
  "eslint-plugin-antfu": "^3.1.1",
44
44
  "eslint-plugin-command": "^3.2.1",
45
- "eslint-plugin-import-x": "^4.13.3",
45
+ "eslint-plugin-import-x": "^4.15.2",
46
46
  "eslint-plugin-jsonc": "^2.20.1",
47
- "eslint-plugin-oxlint": "^0.16.12",
48
- "eslint-plugin-perfectionist": "^4.13.0",
49
- "eslint-plugin-regexp": "^2.7.0",
47
+ "eslint-plugin-oxlint": "^1.1.0",
48
+ "eslint-plugin-perfectionist": "^4.15.0",
49
+ "eslint-plugin-regexp": "^2.9.0",
50
50
  "eslint-plugin-unicorn": "^59.0.1",
51
51
  "eslint-plugin-unused-imports": "^4.1.4",
52
52
  "globals": "^16.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@eslint/config-inspector": "^1.0.2",
56
- "@eslint/core": "^0.14.0",
55
+ "@eslint/config-inspector": "^1.1.0",
56
+ "@eslint/core": "^0.15.0",
57
57
  "@jiakun-zhao/utils": "^1.3.2",
58
- "@types/node": "^22.15.26",
59
- "@typescript-eslint/types": "^8.33.0",
58
+ "@types/node": "^24.0.3",
59
+ "@typescript-eslint/types": "^8.34.1",
60
60
  "bumpp": "^10.1.1",
61
- "eslint": "^9.27.0",
61
+ "eslint": "^9.29.0",
62
62
  "eslint-plugin-astro": "^1.3.1",
63
- "eslint-plugin-vue": "^10.1.0",
63
+ "eslint-plugin-vue": "^10.2.0",
64
64
  "eslint-typegen": "^2.2.0",
65
65
  "eslint-vitest-rule-tester": "^2.2.0",
66
- "tsx": "^4.19.4",
66
+ "tsx": "^4.20.3",
67
67
  "typescript": "^5.8.3",
68
68
  "unbuild": "^3.5.0",
69
- "vitest": "^3.1.4"
69
+ "vitest": "^3.2.4"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "unbuild",