Skip to content

Commit 36503ec

Browse files
chore: enable no-constant-binary-expression in eslint-config-eslint (#15807)
* chore: add no-constant-binary-expression in eslint-plugin-eslint * Update packages/eslint-config-eslint/default.yml Co-authored-by: Milos Djermanovic <[email protected]> Co-authored-by: Milos Djermanovic <[email protected]>
1 parent de992b7 commit 36503ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/eslint-config-eslint/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ rules:
156156
no-caller: "error"
157157
no-confusing-arrow: "error"
158158
no-console: "error"
159+
no-constant-binary-expression: "error"
159160
no-constructor-return: "error"
160161
no-else-return: ["error", { allowElseIf: false }]
161162
no-eval: "error"

0 commit comments

Comments
 (0)