From ca6f51b6658cb1dc0d0b4b069ffc0e444abb0db9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:34:14 +0400 Subject: fix(typescript): no-magic-numbers Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/rules') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 0c029f1..e888c02 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -59,19 +59,7 @@ "off" ], "@typescript-eslint/no-magic-numbers": [ - "warn", - { - "detectObjects": false, - "enforceConst": true, - "ignore": [ - 0, - 1 - ], - "ignoreArrayIndexes": false, - "ignoreEnums": true, - "ignoreNumericLiteralTypes": true, - "ignoreReadonlyClassProperties": true - } + "off" ], "@typescript-eslint/no-misused-promises": [ "error", @@ -193,9 +181,6 @@ "no-implied-eval": [ "off" ], - "no-magic-numbers": [ - "off" - ], "no-unused-vars": [ "off" ], -- cgit v1.2.3