New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: ESLint
class should not load plugins already defined in plugins
#15079
Comments
Strange this is only popping up now. Did this used to happen with CLIEngine? |
I don't know, never used |
CLIEngine didn't have a constructor option that accepts plugin implementations, but an instance method |
If we add IDK how |
I think something like that would work. In the current version, we are updating Lines 435 to 454 in e3cd141
We could instead pass |
We shouldn’t be making any further changes to CLIEngine at this point, as it will be going away. We need to start transitioning functionality into the ESLint class directly. |
I took a look at this and updating CLIEngine is probably the easiest way to fix this. |
I'm working on this. |
Environment
Node version: v16.9.1
npm version: v7.9.0
Local ESLint version: v7.32.0
Global ESLint version: Not found
Operating System: win32 10.0.19043
What parser are you using?
Default (Espree)
What did you do?
What did you expect to happen?
No errors.
What actually happened?
The
config-array-factory
is trying to load the plugin that I've set in theplugins
.Participation
Additional comments
N/A
The text was updated successfully, but these errors were encountered: