Skip to content

chore: enabled ESLint's no-unused-vars#5399

Merged
mark-wiemer merged 2 commits intomochajs:mainfrom
JoshuaKGoldberg:no-unused-vars
Jul 12, 2025
Merged

chore: enabled ESLint's no-unused-vars#5399
mark-wiemer merged 2 commits intomochajs:mainfrom
JoshuaKGoldberg:no-unused-vars

Conversation

@JoshuaKGoldberg
Copy link
Copy Markdown
Member

Overview

It's been bugging me that we have a bunch of unused imports, parameters, and variables hanging around. no-unused-vars is enabled in basically every linter preset out there, including neostandard (#5301) and ESLint's recommended (#5281).

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review July 4, 2025 12:08
@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team July 4, 2025 12:08
Copy link
Copy Markdown
Contributor

@samuelhnrq samuelhnrq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised to learn this was not enabled already.

@mark-wiemer mark-wiemer merged commit d4168ae into mochajs:main Jul 12, 2025
146 of 147 checks passed
lennonnikolas pushed a commit to lennonnikolas/mocha that referenced this pull request Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants