[no-unused-vars] uses non-existent deep import from eslint@5 #2890
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Make sure to install
eslint@5
, which is supported according to peer dependency:typescript-eslint/packages/eslint-plugin/package.json
Line 64 in 717e718
// empty
Expected Result
The linter should exit successfully
Actual Result
It fails due to this import, which doesn't exist for eslint@5:
typescript-eslint/packages/eslint-plugin/src/rules/no-unused-vars.ts
Line 7 in 717e718
Additional Info
Details
The regression was introduced in #2768.
Versions
@typescript-eslint/eslint-plugin
4.10.0
@typescript-eslint/parser
4.10.0
TypeScript
4.1.3
ESLint
5.16.0
node
14.15.0
The text was updated successfully, but these errors were encountered: