You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recommended way to configure for flat config in eslint-plugin-react-hooks@7.0.0 isn't correctly typed with TypeScript and enabled noUncheckedIndexedAccess flag:
eslint.config.ts:4:30 - error TS2322: Type 'ReactHooksFlatConfig | undefined' is not assignable to type 'InfiniteArray<ConfigWithExtends>'.
Type 'undefined' is not assignable to type 'InfiniteArray<ConfigWithExtends>'.
4 export default defineConfig([reactHooks.configs.flat.recommended]);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in eslint.config.ts:4