Skip to content

Commit

Permalink
chore: enable no-constant-binary-expression in eslint-config-eslint (#…
Browse files Browse the repository at this point in the history
…15807)

* chore: add no-constant-binary-expression in eslint-plugin-eslint

* Update packages/eslint-config-eslint/default.yml

Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>

Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
  • Loading branch information
aladdin-add and mdjermanovic committed Apr 26, 2022
1 parent de992b7 commit 36503ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-eslint/default.yml
Expand Up @@ -156,6 +156,7 @@ rules:
no-caller: "error"
no-confusing-arrow: "error"
no-console: "error"
no-constant-binary-expression: "error"
no-constructor-return: "error"
no-else-return: ["error", { allowElseIf: false }]
no-eval: "error"
Expand Down

0 comments on commit 36503ec

Please sign in to comment.