Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

refactor(webui): silence the React-Compiler incompatible-library lint

Sergey Kozyrenkoda63ced00256
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index f868a9e6..33deafbc 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -69,6 +69,9 @@ const eslintConfig = [
prev: 'do',
},
],
+ // Off until React Compiler lands: its compatibility lint flags every RHF
+ // watch() / useReactTable as unactionable noise (see OPEN-ISSUES §3).
+ 'react-hooks/incompatible-library': 'off',
'react/no-unescaped-entities': 'off', // Allow quotes in JSX
'react/prop-types': 'off', // TypeScript provides type checking
},
diff --git a/frontend/src/hooks/use-element-virtual-list.ts b/frontend/src/hooks/use-element-virtual-list.ts
index 6353dada..7f27c211 100644
--- a/frontend/src/hooks/use-element-virtual-list.ts
+++ b/frontend/src/hooks/use-element-virtual-list.ts
@@ -32,7 +32,6 @@ export function useElementVirtualList({
overscan = 10,
padding = 0,
}: UseElementVirtualListOptions): UseElementVirtualListResult {
- // eslint-disable-next-line react-hooks/incompatible-library -- react-virtual is not React-Compiler-memoizable; confined to this wrapper so consumers stay compilable
const virtualizer = useVirtualizer({
count,
enabled,