aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/javascript/default.json4
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
}
],