Skip to content

[@typescript-eslint/no-unused-vars] produces error in 4.14.0 #2950

Closed
@sfabriece

Description

@sfabriece
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.

Repro

Working code (4.13.0): https://github.com/sfabriece/typescript-eslint-repro/tree/old
Broken code (4.14.0): https://github.com/sfabriece/typescript-eslint-repro/tree/main

Instructions in both branches:

npm install
npm run lint

tsconfig in repro repo

debug output
lint-report.txt

Versions

package version
@typescript-eslint/eslint-plugin 4.14.0
@typescript-eslint/parser 4.14.0
TypeScript 4.1.3
ESLint 7.18.0
node 15.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existspackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions