8000 Suggestion: @typescript-eslint/no-unused-vars: Improve Performance · Issue #7199 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content
Suggestion: @typescript-eslint/no-unused-vars: Improve Performance #7199
Open
@cpojer

Description

@cpojer

Suggestion

I noticed that the @typescript-eslint/no-unused-vars rule is consistently the slowest rule in my project of about 100k lines of code, taking about 20% of the linting time. I am not doing anything special that should impact this rule more than others and I assume these metrics are reproducible across repros:

CleanShot 2023-07-12 at 10 40 49@2x

I'd love to learn if you are aware of this, if you have previously spent time on improving this, and if you have any pointer on how to optimize this rule for everyone.

(Apologies for using this issue template, but the others didn't allow me to drop a screenshot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginperformanceIssues regarding performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0