diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index c0deb80..db0129c 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@eslint/js": "9.14.0", - "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/utils": "8.13.0", "diff-match-patch": "1.0.5", "eslint": "9.14.0", "eslint-config-flat-gitignore": "0.3.0", @@ -44,7 +44,7 @@ "globals": "15.12.0", "prettier": "3.3.3", "synckit": "0.9.2", - "typescript-eslint": "8.12.2" + "typescript-eslint": "8.13.0" }, "peerDependencies": { "@next/eslint-plugin-next": "^15.0.0", diff --git a/packages/eslint-config/src/react.ts b/packages/eslint-config/src/react.ts index 8d9a06c..c178530 100644 --- a/packages/eslint-config/src/react.ts +++ b/packages/eslint-config/src/react.ts @@ -21,7 +21,11 @@ export async function react(config: ReactConfig): Promise; + }; + } ).default : undefined; @@ -67,10 +71,11 @@ export async function react(config: ReactConfig): Promise), + ...(( + pluginJSXA11y as FlatConfig.Plugin & { + configs: Record; + } + ).configs?.strict?.rules as Record), "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "error",