Skip to content

Commit 4221d91

Browse files
authored
Merge pull request #3247 from gdg-x/eslint
Update typescript-eslint
2 parents 0f2d4ff + 5a80d61 commit 4221d91

File tree

4 files changed

+169
-569
lines changed

4 files changed

+169
-569
lines changed

.eslintrc.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,18 @@
5656
{
5757
"files": ["*.ts", "*.tsx"],
5858
"rules": {
59-
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
59+
"@typescript-eslint/no-unused-vars": [
60+
"error",
61+
{
62+
"args": "all",
63+
"argsIgnorePattern": "^_",
64+
"caughtErrors": "all",
65+
"caughtErrorsIgnorePattern": "^_",
66+
"destructuredArrayIgnorePattern": "^_",
67+
"varsIgnorePattern": "^_",
68+
"ignoreRestSiblings": true
69+
}
70+
]
6071
}
6172
}
6273
],

0 commit comments

Comments
 (0)