Skip to content

Commit 85f56d8

Browse files
committed
Disallow comparing against -0 (no-compare-neg-zero)
Fixes: standard/standard#812
1 parent 31a03e3 commit 85f56d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"no-array-constructor": "error",
5858
"no-caller": "error",
5959
"no-class-assign": "error",
60+
"no-compare-neg-zero": "error",
6061
"no-cond-assign": "error",
6162
"no-const-assign": "error",
6263
"no-constant-condition": ["error", { "checkLoops": false }],

0 commit comments

Comments
 (0)