diff --git a/eslint.config.js b/eslint.config.js index 82d8178c16..5ec4d2889f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -387,9 +387,9 @@ export default [ // React Hooks Extra // https://eslint-react.xyz/ - 'react-hooks-extra/no-redundant-custom-hook': 1, 'react-hooks-extra/no-unnecessary-use-callback': 1, 'react-hooks-extra/no-unnecessary-use-memo': 1, + 'react-hooks-extra/no-useless-custom-hooks': 1, 'react-hooks-extra/prefer-use-state-lazy-initialization': 1, // SonarJS rules diff --git a/package.json b/package.json index e2d22c5deb..386c66e4a4 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,8 @@ "@types/node": "^22.0.0", "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^8.18.1", - "@typescript-eslint/parser": "^8.18.1", + "@typescript-eslint/eslint-plugin": "^8.19.1", + "@typescript-eslint/parser": "^8.19.1", "@vitejs/plugin-react": "^4.3.4", "@vitest/browser": "^2.1.8", "@vitest/coverage-v8": "^2.1.8", @@ -82,10 +82,10 @@ "browserslist": "^4.24.3", "eslint": "^9.17.0", "eslint-plugin-jest-dom": "^5.5.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-compiler": "^19.0.0-beta-201e55d-20241215", + "eslint-plugin-react": "^7.37.3", + "eslint-plugin-react-compiler": "^19.0.0-beta-63e3235-20250105", "eslint-plugin-react-hooks": "^5.0.0", - "eslint-plugin-react-hooks-extra": "^1.20.0", + "eslint-plugin-react-hooks-extra": "^1.23.2", "eslint-plugin-sonarjs": "^3.0.1", "eslint-plugin-testing-library": "^7.1.1", "jspdf": "^2.5.1",