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
Warning for ignored files on linting #5623
Comments
Workaround (only practical if you have no rules configured as warnings): Use |
@platinumazure i've rules configured as warning and i need those warnings. |
I understand- it's a note for others who find this issue 😄
|
I think it is working as expected, because of the way you are calling eslint. If you use |
@alberto absolutely. Thanks. |
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 sorry to continue a closed thread, but I don't really follow the similarities in #4828 - I'd prefer not to have to use the |
Yes, by using Try using |
Thanks! That makes sense. |
^ I agree. I don't see any value in having this warning to begin with since the point of gitignore is to ignore files that fall within the group of files you're linting. |
@alberto What's the point of an ignore file if it's not to contradict what you express in the config file? |
Yeah I just complained to JetBrains about this issue... the only workaround to prevent this issue from firing in IDEA/WebStorm is to turn off ESLint integration. Please reconsider this... it's a really dumb idea to 'warn' the user that the system is working as designed. |
I'd also like to support another consideration for this issue. If I've explicitly ignored a file in |
@johnomalley could you please link your issue in WebStorm issue tracker? So any one how find this thread may +1 it or just track the progress |
https://youtrack.jetbrains.com/issue/WEB-27100 Looks like they fixed it. |
@alberto I'm using grunt plugin https://github.com/sindresorhus/grunt-eslint Don't know how to use |
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.
The text was updated successfully, but these errors were encountered: