Support inline comment to specify configuration file. #7628
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
core
Relates to ESLint's core APIs and features
enhancement
This change enhances an existing feature of ESLint
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
What version are you using?
3.10.2
What did you do?
I have multiple ESLint configuration files, e.g. a default one for source, one for functional tests adding Protractor globals, one for unit tests adding Jasmine globals, etc.
What happened?
The Atom editor and its linter plugin (as well as other tools, I'm sure) only understands the default one, so it shows all kinds errors when I'm working on my test files (undefined globals, etc.)
What did you expect to happen?
I'd like a new feature allowing an inline comment to specify the location of the configuration file to use to lint the current file, e.g.:
The text was updated successfully, but these errors were encountered: