Skip to content

Commit df3359a

Browse files
chore(deps): use ESLint v9 (#929)
* chore(deps): use ESLint v9 * Remove old versions * Fix rule name change
1 parent 40e8f77 commit df3359a

File tree

4 files changed

+363
-521
lines changed

4 files changed

+363
-521
lines changed

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export default [
99
name: 'tanstack/temp',
1010
rules: {
1111
'@typescript-eslint/array-type': 'off',
12-
'@typescript-eslint/ban-types': 'off',
1312
'@typescript-eslint/method-signature-style': 'off',
1413
'@typescript-eslint/naming-convention': 'off',
1514
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
15+
'@typescript-eslint/no-unsafe-function-type': 'off',
1616
'@typescript-eslint/require-await': 'off',
1717
'no-async-promise-executor': 'off',
1818
'no-empty': 'off',

examples/react/ui-libraries/package.json

-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@
2525
"devDependencies": {
2626
"@types/react": "^18.3.3",
2727
"@types/react-dom": "^18.3.0",
28-
"@typescript-eslint/eslint-plugin": "^7.18.0",
29-
"@typescript-eslint/parser": "^7.18.0",
3028
"@vitejs/plugin-react": "^4.3.1",
3129
"@vitejs/plugin-react-swc": "^3.7.0",
32-
"eslint": "^8.57.0",
33-
"eslint-plugin-react-hooks": "^4.6.2",
34-
"eslint-plugin-react-refresh": "^0.4.11",
3530
"typescript": "5.4.2",
3631
"vite": "^5.4.2"
3732
},

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
]
3939
},
4040
"devDependencies": {
41-
"@eslint-react/eslint-plugin": "^1.12.1",
41+
"@eslint-react/eslint-plugin": "^1.12.3",
4242
"@solidjs/testing-library": "^0.8.9",
43-
"@tanstack/config": "^0.12.0",
43+
"@tanstack/config": "^0.13.0",
4444
"@testing-library/jest-dom": "^6.5.0",
4545
"@testing-library/react": "^16.0.0",
4646
"@testing-library/user-event": "^14.5.2",
@@ -49,8 +49,8 @@
4949
"@types/react": "^18.3.3",
5050
"@types/react-dom": "^18.3.0",
5151
"@vitest/coverage-istanbul": "^2.0.5",
52-
"eslint": "^8.57.0",
53-
"eslint-plugin-react-hooks": "^4.6.2",
52+
"eslint": "^9.9.1",
53+
"eslint-plugin-react-hooks": "^5.1.0-rc-a19a8ab4-20240829",
5454
"jsdom": "^25.0.0",
5555
"knip": "^5.27.4",
5656
"nx": "^19.6.2",

0 commit comments

Comments
 (0)