diff options
-rw-r--r-- | src/rules/javascript/default.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json index bc42d8f..ac2fccd 100644 --- a/src/rules/javascript/default.json +++ b/src/rules/javascript/default.json @@ -288,6 +288,10 @@ { "detectObjects": false, "enforceConst": true, + "ignore": [ + 0, + 1 + ], "ignoreArrayIndexes": false } ], |