Skip to content

Commit cf0b612

Browse files
authored
chore: Add no-constant-binary-expression rule (#269)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
1 parent 40e5a57 commit cf0b612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
'import/order': ERROR,
4040
'no-restricted-globals': [ERROR].concat(restrictedGlobals),
4141
'no-restricted-syntax': [ERROR, 'WithStatement'],
42+
'no-constant-binary-expression': ERROR,
4243
'prettier/prettier': ERROR,
4344
'promise/prefer-await-to-then': WARNING,
4445
'import/no-extraneous-dependencies': [

0 commit comments

Comments
 (0)