-
Notifications
You must be signed in to change notification settings - Fork 175
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
Remove lint errors for event handler functions that don't use the event argument #710
Comments
Don't do that. We can use this issue to update our |
Here's what we came up with on slack:
See the This should globally suppress the errors for unused arguments called |
* updates method names to use better words * completes #710
* updates method names to use better words * completes #710
* updates method names to use better words * completes #710
Some event handler functions currently don't use the event itself for anything. Therefore, eslint is showing errors because the argument should either be used or not taken. But in this particular case, it is wise to capture the event just so we know it is available, even though we occasionally may not need it.
Please add individual eslint comments for each of these instances such that cause eslint to ignore them so they are considered legal.
The text was updated successfully, but these errors were encountered: