diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-19 13:33:30 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-19 13:33:30 +0300 |
commit | dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1 (patch) | |
tree | 706633228b3061048505aa35f03c8a5e7a81fa78 /src/rules | |
parent | 4aeb8473fa56acfed2321a4c11a4c0dfececffb4 (diff) | |
download | eslint-config-dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1.tar.xz eslint-config-dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1.zip |
fix(eslint): no-magic-numbers
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/javascript/default.json | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json index bdbe94b..1004268 100644 --- a/src/rules/javascript/default.json +++ b/src/rules/javascript/default.json @@ -288,16 +288,7 @@ "error" ], "no-magic-numbers": [ - "warn", - { - "detectObjects": false, - "enforceConst": true, - "ignore": [ - 0, - 1 - ], - "ignoreArrayIndexes": false - } + "off" ], "no-mixed-spaces-and-tabs": [ "error" |