We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When configuring the plugin as per its documentation and using the typescript-eslint package's type helper like so:
typescript-eslint
export default tsEslint.config( reactPlugin.configs.flat.recommended )
It produces typescript error:
'react.configs.flat' is possibly 'undefined'.ts(18048) (property) flat?: Record<string, react.ReactFlatConfig> | undefined
Also see #3838
No error
v7.37.3
v9.14.0
v22.11.0
The text was updated successfully, but these errors were encountered:
Duplicate of #3874.
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Description Overview
When configuring the plugin as per its documentation and using the
typescript-eslint
package's type helper like so:It produces typescript error:
Also see #3838
Expected Behavior
No error
eslint-plugin-react version
v7.37.3
eslint version
v9.14.0
node version
v22.11.0
The text was updated successfully, but these errors were encountered: