diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-19 13:34:14 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-19 13:34:14 +0300 |
commit | ca6f51b6658cb1dc0d0b4b069ffc0e444abb0db9 (patch) | |
tree | baf5aa5bd29f1fb50a8c7b0ac7235d7d5f77fe1a /src | |
parent | dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1 (diff) | |
download | eslint-config-ca6f51b6658cb1dc0d0b4b069ffc0e444abb0db9.tar.xz eslint-config-ca6f51b6658cb1dc0d0b4b069ffc0e444abb0db9.zip |
fix(typescript): no-magic-numbers
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/typescript/default.json | 17 |
1 files changed, 1 insertions, 16 deletions
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" ], |