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
In my case, I often use _.noop as event handler in my unit tests. I'd like to whitelist this case.
_.noop
Perhaps this could be solved in some generic way, i.e. since the rule uses RegExps anyway, these RegExps could be configurable.
This was originally reported by me in #571 (comment)
The text was updated successfully, but these errors were encountered:
Would also be useful for some react native props like onTintColor
onTintColor
https://facebook.github.io/react-native/docs/switch.html#ontintcolor
Sorry, something went wrong.
Using things like _.noop has become pretty discouraged in the ecosystem, since () => {} is supremely optimized and much clearer.
() => {}
@sheshbabu onTintColor should just work fine, because of the "on" prefix.
No branches or pull requests
In my case, I often use
_.noop
as event handler in my unit tests. I'd like to whitelist this case.Perhaps this could be solved in some generic way, i.e. since the rule uses RegExps anyway, these RegExps could be configurable.
This was originally reported by me in #571 (comment)
The text was updated successfully, but these errors were encountered: