Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /