I have a eslint config which extends some others. Those packages depend on "@typescript/eslint-plugin" but they use different versions.
extends: ['airbnb', 'airbnb-typescript', '@some-private-eslint-cfg'],
This results in Eslint being unable to start. It complains about ambiguity, it cannot determine which version to use.
The error:
Oops! Something went wrong! :(ESLint: 8.19.0ESLint couldn't determine the plugin "@typescript-eslint" uniquely.Please remove the "plugins" setting from either config or remove either plugin installation.
However, since I can't edit the configs of those packages I'm extending, I can't remove it from plugins[] and I can't uninstall it.
How to solve this? Ideally, I would like to add something to my top level .eslintrc to handle this. Is this possible?