Skip to content

Commit

Permalink
Use "@typescript-eslint/no-unused-vars": "error"
Browse files Browse the repository at this point in the history
This rule extends the base eslint/no-unused-vars rule. It adds support for TypeScript features, such as types. This commit also updates some library versions
  • Loading branch information
ChinemeremChigbo committed Oct 5, 2024
1 parent 8041eae commit 57df61d
Show file tree
Hide file tree
Showing 3 changed files with 2,441 additions and 1,517 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"extends": ["next", "next/core-web-vitals", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"plugins": ["prettier", "@typescript-eslint"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"no-unused-vars": "error"
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
}
Loading

0 comments on commit 57df61d

Please sign in to comment.