Skip to content

Commit

Permalink
Add no-constant-binary-expression rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 23, 2022
1 parent 0a302bd commit af63ee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ module.exports = {
],
'no-class-assign': 'error',
'no-const-assign': 'error',
'no-constant-binary-expression': 'error',
'no-dupe-class-members': 'error',
'no-new-symbol': 'error',
'no-this-before-super': 'error',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
},
"devDependencies": {
"ava": "^2.4.0",
"eslint": "^8.6.0",
"eslint": "^8.14.0",
"is-plain-obj": "^3.0.0"
},
"peerDependencies": {
"eslint": ">=8.6.0"
"eslint": ">=8.14.0"
}
}

0 comments on commit af63ee6

Please sign in to comment.