diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/default.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json index 7df9925..9b6b2dc 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -206,6 +206,14 @@ "no-extra-semi": [ "error" ], + "no-magic-numbers": [ + "warn", + { + "detectObjects": false, + "enforceConst": true, + "ignoreArrayIndexes": false + } + ], "no-multi-spaces": [ "error", { |