-
-
Notifications
You must be signed in to change notification settings - Fork 5k
ESLint looks for .eslintrc.* files even when -c flag is used #9535
Copy link
Copy link
Closed
Closed
Copy link
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussioncoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresdocumentationRelates to ESLint's documentationRelates to ESLint's documentation
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussioncoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresdocumentationRelates to ESLint's documentationRelates to ESLint's documentation
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
I expected no errors to be reported, because I used the
-cflag to specify a config, so I did not expect ESLint to also look for other config files in the filesystem.What actually happened? Please include the actual, raw output from ESLint.
In addition to the config file specified with
-c, ESLint also looked for.eslintrcfiles in the current directory, so theno-consolerule was enabled.