@sxzz/eslint-config 3.13.0 → 3.14.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
@@ -66,6 +66,8 @@ See [preset.ts](./src/presets.ts) for more details.
66
66
 
67
67
  ### VSCode
68
68
 
69
+ Enable flat config if you are using ESLint < 9.
70
+
69
71
  ```jsonc
70
72
  {
71
73
  "eslint.experimental.useFlatConfig": true,
package/dist/index.d.ts CHANGED
@@ -42,7 +42,7 @@ declare const prettier: Linter.FlatConfig[];
42
42
  declare const sortPackageJson: Linter.FlatConfig[];
43
43
  declare const sortTsconfig: Linter.FlatConfig[];
44
44
 
45
- declare const typescriptCore: Linter.FlatConfig<Linter.RulesRecord>[];
45
+ declare const typescriptCore: Linter.FlatConfig[];
46
46
  declare const typescript: Linter.FlatConfig[];
47
47
 
48
48
  declare const unicorn: Linter.FlatConfig[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "ESLint config for @sxzz.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,38 +27,38 @@
27
27
  "eslint": "^8.56.0 || ^9.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@unocss/eslint-plugin": "^0.61.0",
30
+ "@unocss/eslint-plugin": "^0.61.3",
31
31
  "eslint-config-prettier": "^9.1.0",
32
- "eslint-plugin-antfu": "^2.3.3",
32
+ "eslint-plugin-antfu": "^2.3.4",
33
33
  "eslint-plugin-command": "^0.2.3",
34
34
  "eslint-plugin-eslint-comments": "^3.2.0",
35
- "eslint-plugin-import-x": "^0.5.1",
35
+ "eslint-plugin-import-x": "^3.0.1",
36
36
  "eslint-plugin-jsonc": "^2.16.0",
37
- "eslint-plugin-markdown": "^5.0.0",
37
+ "eslint-plugin-markdown": "^5.1.0",
38
38
  "eslint-plugin-n": "^17.9.0",
39
39
  "eslint-plugin-perfectionist": "^2.11.0",
40
40
  "eslint-plugin-prettier": "^5.1.3",
41
- "eslint-plugin-unicorn": "^53.0.0",
41
+ "eslint-plugin-unicorn": "^54.0.0",
42
42
  "eslint-plugin-unused-imports": "^4.0.0",
43
- "eslint-plugin-vue": "^9.26.0",
43
+ "eslint-plugin-vue": "^9.27.0",
44
44
  "eslint-plugin-yml": "^1.14.0",
45
- "globals": "^15.4.0",
45
+ "globals": "^15.8.0",
46
46
  "jsonc-eslint-parser": "^2.4.0",
47
47
  "local-pkg": "^0.5.0",
48
- "prettier": "^3.3.2",
49
- "typescript-eslint": "^7.13.0",
48
+ "prettier": "^3.3.3",
49
+ "typescript-eslint": "^7.16.0",
50
50
  "vue-eslint-parser": "^9.4.3",
51
51
  "yaml-eslint-parser": "^1.2.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@sxzz/prettier-config": "^2.0.2",
55
55
  "@types/eslint": "^8.56.10",
56
- "@types/node": "^20.14.2",
56
+ "@types/node": "^20.14.10",
57
57
  "bumpp": "^9.4.1",
58
- "eslint": "^9.4.0",
58
+ "eslint": "^9.7.0",
59
59
  "tsup": "^8.1.0",
60
- "tsx": "^4.15.4",
61
- "typescript": "^5.4.5"
60
+ "tsx": "^4.16.2",
61
+ "typescript": "^5.5.3"
62
62
  },
63
63
  "engines": {
64
64
  "node": "^18.18.0 || >=20.0.0"