Skip to content

How Can I config @typescript-eslint/no-unused-vars correctly? #52871

Answered by icyJoseph
wywppkd asked this question in Help
Discussion options

You must be logged in to vote

Don't you need to to install @typescript-eslint/eslint-plugin, and then do something like:

{
  "extends": ["next/core-web-vitals", "prettier"],
  "plugins": ["@typescript-eslint"],
  "rules": {
    "@typescript-eslint/no-unused-vars": "error"
  }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wywppkd
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
Help
Labels
None yet
3 participants