Treat "React is declared but its value is never read" as error instead of just warning #646
Unanswered
imam-syafi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tried this setup on newly scaffolded React 19 project with Rsbuild, can I treat unused import React statement as error instead of just warning? Even running
eslint --cache --fix .
can't automatically fix it.Here's my config files.
eslint.config.mjs
tsconfig.json
Did I miss something?
Beta Was this translation helpful? Give feedback.
All reactions