Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
sfabriece opened this issue Jan 19, 2021 · 2 comments
Closed
3 tasks done

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

sfabriece opened this issue Jan 19, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin

Comments

@sfabriece
Copy link

  • 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
@sfabriece sfabriece added package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for maintainers to take a look labels Jan 19, 2021
@bradzacher bradzacher added duplicate This issue or pull request already exists and removed triage Waiting for maintainers to take a look labels Jan 19, 2021
@bradzacher
Copy link
Member

bradzacher commented Jan 19, 2021

Duplicate of #2941, #2942, #2945, #2947

Fixed in #2943

Please use the search next time.

@sfabriece
Copy link
Author

@bradzacher it's not always easy to describe the problem. Without knowing the internals of the project it's hard to know if the other issues are related the one I'm experiencing. This is one of those cases.😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin
Projects
None yet
Development

No branches or pull requests

2 participants