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 no-unused-vars args: after-used config #31

Closed
dihar opened this issue Sep 11, 2017 · 0 comments
Closed

Add no-unused-vars args: after-used config #31

dihar opened this issue Sep 11, 2017 · 0 comments

Comments

@dihar
Copy link
Contributor

dihar commented Sep 11, 2017

Now we can's use snippets like this

[1, 2, 3, 4].filter(function(el, i){
  return i % 2;
});

without lint error, and we must disable eslint or do this hack

[1, 2, 3, 4].filter(function(_el, i){
  return i % 2;
});

I propose add option of no-unused-vars``args: after-used config. I will resolve the problem.

zeckson added a commit that referenced this issue Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant