Skip to content

Commit 7c28725

Browse files
committed
Configure some more lint rules
1 parent 56bc0bc commit 7c28725

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.eslintrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,18 @@ module.exports = {
3030
],
3131
rules: {
3232
"jest/expect-expect": ["off"],
33+
"no-fallthrough": ["error", { allowEmptyCase: true }],
3334
"@typescript-eslint/no-var-requires": ["off"],
35+
"@typescript-eslint/no-explicit-any": ["off"],
36+
"@typescript-eslint/no-unused-vars": [
37+
"error",
38+
{
39+
argsIgnorePattern: "^_",
40+
varsIgnorePattern: "^_",
41+
args: "after-used",
42+
ignoreRestSiblings: true,
43+
},
44+
],
3445
},
3546
overrides: [
3647
// Rules for TypeScript only

0 commit comments

Comments
 (0)