@lincy/eslint-config 4.6.3 → 5.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "4.6.3",
4
+ "version": "5.0.0",
5
5
  "packageManager": "pnpm@9.1.0",
6
6
  "description": "LinCenYing's ESLint config",
7
7
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
@@ -32,14 +32,15 @@
32
32
  "test": "vitest",
33
33
  "typegen": "esno scripts/typegen.ts",
34
34
  "lint": "pnpm run stub && eslint .",
35
- "lint:fix": "eslint . --fix",
35
+ "lint:fix": "eslint . --flag unstable_ts_config --fix",
36
36
  "lint:ts": "tsc --noEmit",
37
37
  "prepare": "npx simple-git-hooks"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@eslint-react/eslint-plugin": "^7.33.2",
41
+ "@prettier/plugin-xml": "^3.4.1",
41
42
  "@unocss/eslint-plugin": ">=0.50.0",
42
- "eslint": ">=8.40.0",
43
+ "eslint": ">=9.5.0",
43
44
  "eslint-plugin-format": ">=0.1.0",
44
45
  "eslint-plugin-react-hooks": "^4.6.0",
45
46
  "eslint-plugin-react-refresh": "^0.4.4"
@@ -48,6 +49,9 @@
48
49
  "@eslint-react/eslint-plugin": {
49
50
  "optional": true
50
51
  },
52
+ "@prettier/plugin-xml": {
53
+ "optional": true
54
+ },
51
55
  "@unocss/eslint-plugin": {
52
56
  "optional": true
53
57
  },
@@ -63,72 +67,74 @@
63
67
  },
64
68
  "dependencies": {
65
69
  "@antfu/eslint-define-config": "1.23.0-2",
66
- "@antfu/install-pkg": "^0.3.3",
67
- "@stylistic/eslint-plugin": "2.1.0",
68
- "@typescript-eslint/eslint-plugin": "^7.11.0",
69
- "@typescript-eslint/parser": "^7.11.0",
70
- "eslint-config-flat-gitignore": "^0.1.5",
71
- "eslint-flat-config-utils": "^0.2.5",
70
+ "@antfu/install-pkg": "^0.4.1",
71
+ "@clack/prompts": "^0.7.0",
72
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
73
+ "@stylistic/eslint-plugin": "2.7.1",
74
+ "@typescript-eslint/eslint-plugin": "8.3.0",
75
+ "@typescript-eslint/parser": "8.3.0",
76
+ "@vitest/eslint-plugin": "^1.1.0",
77
+ "eslint-config-flat-gitignore": "^0.3.0",
78
+ "eslint-flat-config-utils": "^0.3.1",
72
79
  "eslint-merge-processors": "^0.1.0",
73
80
  "eslint-parser-plain": "^0.1.0",
74
- "eslint-plugin-antfu": "^2.3.3",
75
- "eslint-plugin-eslint-comments": "^3.2.0",
76
- "eslint-plugin-import-x": "^0.5.1",
77
- "eslint-plugin-jsdoc": "^48.2.7",
81
+ "eslint-plugin-antfu": "^2.3.6",
82
+ "eslint-plugin-import-x": "^4.1.1",
83
+ "eslint-plugin-jsdoc": "^50.2.2",
78
84
  "eslint-plugin-jsonc": "^2.16.0",
79
- "eslint-plugin-markdown": "^5.0.0",
80
- "eslint-plugin-n": "^17.7.0",
81
- "eslint-plugin-no-only-tests": "^3.1.0",
82
- "eslint-plugin-perfectionist": "^2.10.0",
85
+ "eslint-plugin-markdown": "^5.1.0",
86
+ "eslint-plugin-n": "^17.10.2",
87
+ "eslint-plugin-no-only-tests": "^3.3.0",
88
+ "eslint-plugin-perfectionist": "^3.3.0",
83
89
  "eslint-plugin-regexp": "^2.6.0",
84
- "eslint-plugin-toml": "^0.11.0",
85
- "eslint-plugin-unicorn": "^53.0.0",
86
- "eslint-plugin-unused-imports": "^4.0.0",
87
- "eslint-plugin-vitest": "^0.5.4",
88
- "eslint-plugin-vue": "^9.26.0",
90
+ "eslint-plugin-toml": "^0.11.1",
91
+ "eslint-plugin-unicorn": "^55.0.0",
92
+ "eslint-plugin-unused-imports": "^4.1.3",
93
+ "eslint-plugin-vue": "^9.27.0",
89
94
  "eslint-plugin-yml": "^1.14.0",
90
95
  "eslint-processor-vue-blocks": "^0.1.2",
91
- "globals": "^15.3.0",
96
+ "globals": "^15.9.0",
92
97
  "jsonc-eslint-parser": "^2.4.0",
93
98
  "local-pkg": "^0.5.0",
94
99
  "prompts": "^2.4.2",
95
- "toml-eslint-parser": "^0.9.3",
100
+ "toml-eslint-parser": "^0.10.0",
96
101
  "vue-eslint-parser": "^9.4.3",
97
102
  "yaml-eslint-parser": "^1.2.3"
98
103
  },
99
104
  "devDependencies": {
100
- "@antfu/ni": "^0.21.12",
101
- "@eslint-react/eslint-plugin": "^1.5.14",
105
+ "@antfu/ni": "^0.23.0",
106
+ "@eslint-react/eslint-plugin": "^1.12.3",
102
107
  "@eslint-types/jsdoc": "48.2.2",
103
108
  "@eslint-types/typescript-eslint": "^7.5.0",
104
109
  "@eslint-types/unicorn": "^52.0.0",
105
- "@eslint/config-inspector": "^0.4.10",
110
+ "@eslint/config-inspector": "^0.5.4",
106
111
  "@lincy/eslint-config": "workspace:*",
107
- "@stylistic/eslint-plugin-migrate": "^2.1.0",
108
- "@types/eslint": "^8.56.10",
109
- "@types/node": "^20.14.0",
112
+ "@prettier/plugin-xml": "^3.4.1",
113
+ "@stylistic/eslint-plugin-migrate": "^2.7.1",
114
+ "@types/eslint": "^9.6.1",
115
+ "@types/node": "^22.5.1",
110
116
  "@types/prompts": "^2.4.9",
111
- "@unocss/eslint-plugin": "^0.60.4",
112
- "bumpp": "^9.4.1",
113
- "eslint": "npm:eslint-ts-patch@9.2.0-6",
114
- "eslint-plugin-format": "^0.1.1",
117
+ "@unocss/eslint-plugin": "^0.62.3",
118
+ "bumpp": "^9.5.2",
119
+ "eslint": "^9.9.1",
120
+ "eslint-plugin-format": "^0.1.2",
115
121
  "eslint-plugin-react-hooks": "^4.6.2",
116
- "eslint-plugin-react-refresh": "^0.4.7",
117
- "eslint-ts-patch": "9.2.0-6",
118
- "eslint-typegen": "^0.2.4",
122
+ "eslint-plugin-react-refresh": "^0.4.11",
123
+ "eslint-ts-patch": "9.8.0-1",
124
+ "eslint-typegen": "^0.3.1",
119
125
  "esno": "^4.7.0",
120
- "lint-staged": "^15.2.5",
121
- "prettier": "^3.3.0",
126
+ "lint-staged": "^15.2.9",
127
+ "prettier": "^3.3.3",
122
128
  "react": "^18.3.1",
123
- "rimraf": "^5.0.7",
129
+ "rimraf": "^6.0.1",
124
130
  "simple-git-hooks": "^2.11.1",
125
131
  "simple-open-url": "^3.0.1",
126
132
  "sucrase": "^3.35.0",
127
- "tsup": "^8.0.2",
128
- "typescript": "^5.4.5",
133
+ "tsup": "^8.2.4",
134
+ "typescript": "^5.5.4",
129
135
  "unbuild": "^2.0.0",
130
- "vitest": "^1.6.0",
131
- "vue": "^3.4.27"
136
+ "vitest": "^2.0.5",
137
+ "vue": "^3.4.38"
132
138
  },
133
139
  "pnpm": {
134
140
  "peerDependencyRules": {
@@ -137,11 +143,17 @@
137
143
  ]
138
144
  }
139
145
  },
146
+ "resolutions": {
147
+ "@eslint-community/eslint-utils": "^4.4.0",
148
+ "@typescript-eslint/utils": "^8.3.0",
149
+ "eslint": "^9.9.1",
150
+ "tsx": "^4.18.0"
151
+ },
140
152
  "simple-git-hooks": {
141
153
  "pre-commit": "npx lint-staged"
142
154
  },
143
155
  "lint-staged": {
144
- "*.{[jt]s?(x),vue,md}": "eslint --fix"
156
+ "*.{[jt]s?(x),vue,md}": "eslint --fix --flag unstable_ts_config"
145
157
  },
146
158
  "publishConfig": {
147
159
  "registry": "https://registry.npmjs.org/"