Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
`overrides` settings in shareable configs overwrite extender's setting #11510
This issue came from eslint/rfcs#13.
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
# extendee.yml overrides: - files: "*.js" rules: no-console: error
# extender.yml extends: "./extendee.yml" rules: no-console: off
What did you expect to happen?
No errors because
What actually happened? Please include the actual, raw output from ESLint.
This issue has been accepted, but it's not feasible to implement under the current architecture without dropping config cache functionality. I have solved this bug by changing the internal structure of configs to an array. How much am I allowed to take the implementation out from the PoC https://github.com/eslint/eslint/tree/proof-of-concept/config-array-in-eslintrc/lib/_lookup?