Skip to content

Commit f68d08e

Browse files
fix(restrict-plus-operands): add rule
1 parent 25e66d8 commit f68d08e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export const settings: Linter.Config = {
112112
typedefs: true,
113113
},
114114
],
115+
"@typescript-eslint/restrict-plus-operands": ["error", { checkCompoundAssignments: true }],
115116
"@typescript-eslint/restrict-template-expressions": [
116117
"error",
117118
{

0 commit comments

Comments
 (0)