Skip to content

Commit

Permalink
Re-enable @typescript-eslint/restrict-plus-operands
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev committed Jun 3, 2023
1 parent 8c32cc1 commit be4ea3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/eslint-config-base/extra-type-checking.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ module.exports = {
rules: {
"@typescript-eslint/no-confusing-void-expression": "error",
"@typescript-eslint/no-unnecessary-condition": "error",
"@typescript-eslint/restrict-plus-operands": [
"error",
{ allowAny: true },
],
"@typescript-eslint/switch-exhaustiveness-check": "error",
},
},
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-config-base/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ module.exports = {
{ ignoreRestSiblings: true, caughtErrors: "all" },
],
"@typescript-eslint/no-use-before-define": "error",
// "@typescript-eslint/restrict-plus-operands": "error", // https://github.com/typescript-eslint/typescript-eslint/issues/386
"@typescript-eslint/prefer-ts-expect-error": "error",
curly: "error",
eqeqeq: "error",
Expand Down

0 comments on commit be4ea3a

Please sign in to comment.