Skip to content

Commit

Permalink
chore: change eslint config not allowing unused vars but do allow unu…
Browse files Browse the repository at this point in the history
…sed expressions
  • Loading branch information
Codeneos committed Sep 2, 2024
1 parent 36a52c9 commit af4639b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
"@typescript-eslint/no-unsafe-argument": 0,
// To many false-posetives on this rule
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/no-unused-expressions": 0,
"@typescript-eslint/unbound-method": 1,
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/no-non-null-assertion": 0,
Expand All @@ -50,6 +51,6 @@ module.exports = {
"no-cond-assign": 1,
"prefer-spread": 1,
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [ "warn" ]
"@typescript-eslint/no-unused-vars": [ "error" ]
}
};

0 comments on commit af4639b

Please sign in to comment.