Reputation: 36580
I would like to use ESlint with express together and keep the no-unused-vars
rule on.
Now when I have ESlint on I get the following:
I would like to turn the no-unused-vars
rule off only for express functions. Is this possible?
Upvotes: 1
Views: 1189
Reputation: 633
From the ESLint documentation, no-unused-var
supports ignore patterns:
https://eslint.org/docs/rules/no-unused-vars#argsignorepattern
Upvotes: 4