Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Slow rule #774

@ghost

Description

Problem

I have been experiencing really slow linting using this plugin lately, after testing I was able to pin most of the slowdown to 1 rule

Test

This was run on a mid-sized nextjs project and relatively powerful laptop (5800HS + 16GB)

TIMING=1 DEBUG=eslint:cli-engine npx eslint src/* --fix 

Results

Screenshot from 2023-08-21 22-05-51

As you can clearly see, @typescript-eslint/no-misused-promises takes more than 50% of the linting time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions