Overrides do not work with extends/package.json #9025
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
https://github.com/milesj/build-tool-config/blob/master/eslint.node.json5
What did you do? Please include the actual source code causing the issue.
Overrides are not respected when they exist in a configuration file that is extended from.
What did you expect to happen?
Overrides work.
What actually happened? Please include the actual, raw output from ESLint.
None of the settings or rules in the overrides block are inherited. I believe the issue is that override globs are relative to the configuration file path, instead of the current working directory.
If I extend from a config file, or from package.json,
overrides
are broken. For example: https://github.com/milesj/interweave/blob/master/package.json#L68The text was updated successfully, but these errors were encountered: