Skip to content

Commit

Permalink
Disallow constant expressions in conditions (no-constant-condition)
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Jul 12, 2016
1 parent 1572721 commit 52c1874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Expand Up @@ -50,6 +50,7 @@
"no-class-assign": 2,
"no-cond-assign": 2,
"no-const-assign": 2,
"no-constant-condition": [2, { "checkLoops": false }],
"no-control-regex": 2,
"no-debugger": 2,
"no-delete-var": 2,
Expand Down

0 comments on commit 52c1874

Please sign in to comment.