import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.
MIT License
5.57k stars 1.57k forks source link

TypeError: context.getScope is not a function #3025

Closed partynuts closed 4 months ago

partynuts commented 4 months ago

I am already using the latest version of this plugin but it is not yet compatible with the latest version of eslint (9.6.0). So I have to use the workaround for the plugin to work. Raising this here because it says to do so in the eslint docs: https://eslint.org/docs/latest/use/troubleshooting/v9-rule-api-changes

ljharb commented 4 months ago

This plugin is not compatible yet with eslint v9, which means you can't upgrade yet, as the peer dep warnings should have told you when you tried to install them. Stick with v8 until this plugin supports v9.

Duplicate of #2948.