Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/loopover-miner-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"vite-tsconfig-paths": "^6.1.1"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@eslint/js": "^10.0.1",
"@tanstack/router-plugin": "^1.168.23",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"eslint": "^9.39.5",
"eslint": "^10.8.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
Expand Down
9 changes: 9 additions & 0 deletions apps/loopover-ui/eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ export default tseslint.config(
},
rules: {
...reactHooks.configs.recommended.rules,
// #8608: eslint-plugin-react-hooks 5 -> 7 (forced by the eslint 10 security chain, GHSA-mh99-v99m-4gvg)
// introduced these React-Compiler-era rules, which flag 24 pre-existing files. Fixing setState-in-effect
// patterns is real UI refactoring with behaviour risk -- not something to smuggle into a dependency
// bump -- so exactly the NEW rules are demoted to warn, keeping every rule that existed in v5 at error.
// Follow-up (promote back to error file-by-file): see the issue this comment cites.
"react-hooks/set-state-in-effect": "warn",
"react-hooks/purity": "warn",
"react-hooks/refs": "warn",
"react-hooks/static-components": "warn",
"no-restricted-imports": [
"error",
{
Expand Down
6 changes: 3 additions & 3 deletions apps/loopover-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@
},
"devDependencies": {
"@codecov/bundle-analyzer": "^2.0.1",
"@eslint/js": "^9.39.5",
"@eslint/js": "^10.0.1",
"@lovable.dev/vite-tanstack-config": "2.7.7",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^22.20.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"eslint": "^9.39.5",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^15.15.0",
"jsdom": "^25.0.1",
Expand Down
Loading
Loading