Skip to content
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

Add prefer-reflect exception #3

Closed
jasonkuhrt opened this issue Dec 2, 2015 · 0 comments
Closed

Add prefer-reflect exception #3

jasonkuhrt opened this issue Dec 2, 2015 · 0 comments

Comments

@jasonkuhrt
Copy link
Collaborator

apply is a common function name (e.g. Ramda) but ESLint prefer-reflect rule is not very smart about detecting usage of Function.apply. Namely, if trips upon any .apply(...) regardless of its coming from Function or Ramda. This is annoying because of the frequency of apply. We should use the exception feature of prefer-reflect to disable tripping on apply.

@jasonkuhrt jasonkuhrt changed the title Make Reflect exception Add prefer-reflect exception Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant