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
8 changes: 4 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export default tseslint.config(
files: ['**/*.{ts,tsx}'],
plugins: { 'react-hooks': reactHooks },
rules: {
...reactHooks.configs.recommended.rules,
// exhaustive-deps cannot reason about external mutable stores (React Flow's nodeLookup), so it
// false-flags our deliberate recompute triggers as "unnecessary". Keep rules-of-hooks (catches
// real conditional-hook bugs); turn this one off — deps are hand-audited in this hook-heavy lib.
// v7 `recommended` also turns on React Compiler rules; those flag the overlay's intentional
// render-time ref writes (`controllerRef.current = controller`). Keep the original surface:
// rules-of-hooks on, exhaustive-deps off (it cannot reason about React Flow's nodeLookup).
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,28 @@
"react": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@eslint/js": "^10.0.1",
"@laststance/npm-publish-tool": "^2.1.0",
"@playwright/test": "^1.60.0",
"@playwright/test": "^1.63.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^22.10.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^6.0.2",
"@testing-library/react": "^16.3.3",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"@xyflow/react": "12.11.2",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.1.0",
"jsdom": "^29.1.1",
"prettier": "^3.4.2",
"eslint": "^10.9.1",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^30.0.1",
"prettier": "^3.9.6",
"react": "19.2.6",
"react-dom": "19.2.6",
"release-it": "^20.2.0",
"release-it": "^21.0.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"vite": "^8.0.16",
"vitest": "^3.0.0"
"typescript": "~6.0.3",
"typescript-eslint": "^8.69.0",
"vite": "^8.2.2",
"vitest": "^4.1.11"
},
"publishConfig": {
"access": "public",
Expand Down
Loading
Loading