Skip to content

Commit af4639b

Browse files
committed
chore: change eslint config not allowing unused vars but do allow unused expressions
1 parent 36a52c9 commit af4639b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = {
4242
"@typescript-eslint/no-unsafe-argument": 0,
4343
// To many false-posetives on this rule
4444
"@typescript-eslint/restrict-template-expressions": 0,
45+
"@typescript-eslint/no-unused-expressions": 0,
4546
"@typescript-eslint/unbound-method": 1,
4647
"@typescript-eslint/no-inferrable-types": 0,
4748
"@typescript-eslint/no-non-null-assertion": 0,
@@ -50,6 +51,6 @@ module.exports = {
5051
"no-cond-assign": 1,
5152
"prefer-spread": 1,
5253
"no-unused-vars": "off",
53-
"@typescript-eslint/no-unused-vars": [ "warn" ]
54+
"@typescript-eslint/no-unused-vars": [ "error" ]
5455
}
5556
};

0 commit comments

Comments
 (0)