Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
4.1 breaks on extending multiple configs from a plugin #8792
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
If I remove all the extends except for "plugin:@corbinu/corbinu/base" then things begin to resolve again or if I paste and merge the configs from each of those then everything reacts normally
Sorry know it makes it more complex to dig into my plugin the source is here: https://gitlab.com/corbinu/eslint-plugin-corbinu
It is only a set of configs no rules of my own.
Jun 24, 2017
The issue is that we're caching configs by file path here, and we're not accounting for the fact that plugin-loaded configs all come from the same file path for a particular plugin. As a result, if two configs from the same plugin are loaded simultaneously, only the one with higher precedence is getting used, and the other is getting pulled from the cache as the same object as the first config.