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

Enhancement: [no-unused-vars] Update for ESLint 9 defaults #8967

Closed
JoshuaKGoldberg opened this issue Apr 22, 2024 · 1 comment · Fixed by #8971
Closed

Enhancement: [no-unused-vars] Update for ESLint 9 defaults #8967

JoshuaKGoldberg opened this issue Apr 22, 2024 · 1 comment · Fixed by #8971
Assignees
Labels
accepting prs Go ahead, send a pull request that resolves this issue breaking change This change will require a new major version to be released enhancement New feature or request package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin
Milestone

Comments

@JoshuaKGoldberg
Copy link
Member

JoshuaKGoldberg commented Apr 22, 2024

Overview

Spinning out of #8211 / #8211 (comment): ESLint 9 includes a couple of changes to the no-unused-vars rule:

  • no-unused-vars default caughtErrors to ‘all’
  • no-unused-vars varsIgnorePattern behavior with catch arguments

Filing a tracking issue for specifically the no-unused-vars work.

💖

@JoshuaKGoldberg JoshuaKGoldberg added enhancement New feature or request package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin breaking change This change will require a new major version to be released accepting prs Go ahead, send a pull request that resolves this issue labels Apr 22, 2024
@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Apr 22, 2024
@JoshuaKGoldberg JoshuaKGoldberg added this to the 8.0.0 milestone Apr 22, 2024
@JoshuaKGoldberg
Copy link
Member Author

#8971 was merged into v8. ✅

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue breaking change This change will require a new major version to be released enhancement New feature or request package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin
Projects
None yet
1 participant