ESLint looks for .eslintrc.* files even when
-c flag is used
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
# foo.yml rules: semi: 2
# .eslintrc.yml rules: no-console: 2
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
eslint -c foo.yml foo.js
What did you expect to happen?
I expected no errors to be reported, because I used the
What actually happened? Please include the actual, raw output from ESLint.
In addition to the config file specified with
The text was updated successfully, but these errors were encountered:
I dont think its a bug, it was designed this way. You have to use
I agree with @gyandeeps, this is as designed. We could update the docs to clarify that it might make sense to also use
I do use this feature in combination with ESLint config files, so please let's not change this if possible...
I'd be okay with changing this in a major release if it's possible to combine with a