Skip to content

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Sep 17, 2025

Prerequisites checklist

What is the purpose of this pull request?

In this PR, I removed unused devDependencies from the eslint-visitor-keys and espree packages.

I've looked through the package, and it appears that @types/estree, @types/estree-jsx, @typescript-eslint-parser, and esquery weren't used anywhere in the eslint-visitor-keys package.

Also, it seems that esprima-fb is a legacy dev dependency and was never used anywhere except being mentioned in a comment.

I've also bumped the other dev-dependencies to their latest versions.

What changes did you make? (Give an overview)

In this PR, I removed unused devDependencies from the eslint-visitor-keys and espree packages.

Related Issues

Ref: #689

Is there anything you'd like reviewers to focus on?

I think most of the dev dependencies are legacy and can safely be removed, since they aren't used anywhere and the CI is passing.

@@ -1,4 +1,4 @@
import { expectType, expectAssignable, expectError } from 'tsd';
import { expectType, expectAssignable } from 'tsd';
Copy link
Member Author

Choose a reason for hiding this comment

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

expectError was unused, so I've removed it.

@lumirlumir lumirlumir changed the title chore: remove unused dev dependencies from eslint-visitor-keys chore: remove unused dev dependencies from packages Sep 17, 2025
@lumirlumir lumirlumir marked this pull request as ready for review September 17, 2025 07:32
@lumirlumir lumirlumir requested a review from a team September 17, 2025 07:32
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mdjermanovic mdjermanovic merged commit f99a6cd into main Sep 17, 2025
11 checks passed
@mdjermanovic mdjermanovic deleted the chore-remove-unused-dev-dependencies-from-eslint-visitor-keys branch September 17, 2025 07:51
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants