Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.
This repository was archived by the owner on May 12, 2025. It is now read-only.

@typescript-eslint/no-unused-vars should follow the same pattern with tsc by default #328

@ShuiRuTian

Description

@ShuiRuTian
function foo(a, _b){
}

For foo, tsc will treat _b as used, which means, if you enable config noUnusedParameters, there will be an error on a, but no error on _b.

It might be a good choice to follow the same pattern by default.

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