Skip to content

Commit

Permalink
update eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightTheBackpack committed Nov 29, 2024
1 parent a880612 commit 9080bd5
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
// your custom rules
"@typescript-eslint/no-unused-vars": ["error"]
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "[A-Z]",
"args": "after-used",
"ignoreRestSiblings": true
}
]
}
}
}

0 comments on commit 9080bd5

Please sign in to comment.