-
-
Notifications
You must be signed in to change notification settings - Fork 27k
eslint-config-react-app doesn't show unused vars when destructuring at least in stateless components #4186
New issue
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
Comments
This one made it to the latest alpha and maybe it was intentional setting before. Now code like this will be marked with warnings:
Whats your opinion on that @goncy? |
In my opinion
|
This change has been reverted. I was under the impression this change only affected object destructing in arguments and after consideration among maintainers we decided to stick with the previous setting for now. Sorry about any inconvenience. |
Current configuration:

Use case, check onEdit prop:

Changing

no-unused-vars
args prop toall
:Result:

I can create a PR for this if needed, just wanted to know if this was intentional and why, thanks!
The text was updated successfully, but these errors were encountered: