Skip to content

Commit 59e2d42

Browse files
committed
Enable @typescript-eslint/restrict-plus-operands
1 parent c969bc9 commit 59e2d42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151
"@typescript-eslint/prefer-nullish-coalescing": "warn",
5252
"@typescript-eslint/prefer-optional-chain": "warn",
5353
"@typescript-eslint/no-extra-non-null-assertion": "warn",
54+
"@typescript-eslint/restrict-plus-operands": ["warn", { "checkCompoundAssignments": true } ],
5455

5556
"@typescript-eslint/indent": "off",
5657
"@typescript-eslint/no-explicit-any": "off",

0 commit comments

Comments
 (0)