Warning for ignored files on linting #5623
abhisekp
commented
platinumazure
commented
Workaround (only practical if you have no rules configured as warnings): Use --quiet
option to suppress warnings and only print errors.
I think it is working as expected, because of the way you are calling eslint. If you use eslint .
instead, the warnings should go away.
Because there is a discrepancy between the files you are asking to lint in the command line and your ignored files. I'm actually not sure what should take precedence, but this is something we are discussing in another thread, so I'm closing this one.
alberto
closed this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of ESLint are you using?
eslint 2.4.0
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint 6.0.0-beta.6
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
eslint **/*.js
What did you expect to happen?
Not to show my ignored files WARNING while linting.
What actually happened? Please include the actual, raw output from ESLint.