You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that v4.1.1 cannot be used with ESLint 8 classic config (whereas v4.0.1 could), because classic config uses require() behind the scenes to pull in plugins.
As a result of this, when using v4.1.1 with ESLint classic config, ESLint reports
1:1 error Definition for rule 'unused-imports/no-unused-imports' was not found unused-imports/no-unused-imports
1:1 error Definition for rule 'unused-imports/no-unused-vars' was not found unused-imports/no-unused-vars
I believe this is an unintentional breaking change for a semver-minor release.
The text was updated successfully, but these errors were encountered:
Given
require('eslint-plugin-unused-imports')
, in v4.0.1, this was returned:However, in v4.1.1, this is returned:
This means that v4.1.1 cannot be used with ESLint 8 classic config (whereas v4.0.1 could), because classic config uses
require()
behind the scenes to pull in plugins.As a result of this, when using v4.1.1 with ESLint classic config, ESLint reports
I believe this is an unintentional breaking change for a semver-minor release.
The text was updated successfully, but these errors were encountered: