Skip to content

Commit 8461c99

Browse files
authored
chore(web): update linting and router dependencies (sipeed#2592)
Bump TanStack Router, ESLint, React Hooks plugin, TypeScript ESLint, and Prettier packages. Disable the react-hooks/set-state-in-effect rule in the frontend ESLint config.
1 parent 74c98a5 commit 8461c99

3 files changed

Lines changed: 171 additions & 178 deletions

File tree

web/frontend/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default defineConfig([
2222
globals: globals.browser,
2323
},
2424
rules: {
25+
"react-hooks/set-state-in-effect": "off",
2526
"react-refresh/only-export-components": [
2627
"warn",
2728
{ allowConstantExport: true },

web/frontend/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@tabler/icons-react": "^3.40.0",
2222
"@tailwindcss/vite": "^4.2.2",
2323
"@tanstack/react-query": "^5.99.0",
24-
"@tanstack/react-router": "^1.168.22",
25-
"@tanstack/react-router-devtools": "^1.163.3",
24+
"@tanstack/react-router": "^1.168.23",
25+
"@tanstack/react-router-devtools": "^1.166.13",
2626
"class-variance-authority": "^0.7.1",
2727
"clsx": "^2.1.1",
2828
"dayjs": "^1.11.20",
@@ -55,17 +55,17 @@
5555
"@types/node": "^25.6.0",
5656
"@types/react": "^19.2.7",
5757
"@types/react-dom": "^19.2.3",
58-
"@typescript-eslint/eslint-plugin": "^8.57.1",
58+
"@typescript-eslint/eslint-plugin": "^8.58.2",
5959
"@vitejs/plugin-react": "^6.0.1",
60-
"eslint": "^10.1.0",
60+
"eslint": "^10.2.1",
6161
"eslint-config-prettier": "^10.1.8",
62-
"eslint-plugin-react-hooks": "^7.0.1",
62+
"eslint-plugin-react-hooks": "^7.1.1",
6363
"eslint-plugin-react-refresh": "^0.5.2",
6464
"globals": "^17.5.0",
65-
"prettier": "^3.8.1",
65+
"prettier": "^3.8.3",
6666
"prettier-plugin-tailwindcss": "^0.7.2",
6767
"typescript": "~5.9.3",
68-
"typescript-eslint": "^8.57.1",
68+
"typescript-eslint": "^8.58.2",
6969
"vite": "^8.0.8"
7070
}
7171
}

0 commit comments

Comments
 (0)