From dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:33:30 +0400 Subject: fix(eslint): no-magic-numbers Signed-off-by: Valentin Popov --- src/rules/javascript/default.json | 11 +---------- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3