Skip to content

Bug: no-unused-vars is triggered for arguments of function type definitions #17852

Closed Answered by kecrily
iFreilicht asked this question in Q&A
Discussion options

You must be logged in to vote

You should use the typescript-eslint extended no-unused-vars rule

{
    // Note: you must disable the base rule as it can report incorrect errors
    "no-unused-vars": "off",
    "@typescript-eslint/no-unused-vars": "error"
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by iFreilicht
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug ESLint is working incorrectly repro:needed
2 participants
Converted from issue

This discussion was converted from issue #17849 on December 13, 2023 18:38.