fix(typescript): no-magic-numbers

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-19 14:34:14 +04:00
parent dbccc60825
commit ca6f51b665
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -59,19 +59,7 @@
"off" "off"
], ],
"@typescript-eslint/no-magic-numbers": [ "@typescript-eslint/no-magic-numbers": [
"warn", "off"
{
"detectObjects": false,
"enforceConst": true,
"ignore": [
0,
1
],
"ignoreArrayIndexes": false,
"ignoreEnums": true,
"ignoreNumericLiteralTypes": true,
"ignoreReadonlyClassProperties": true
}
], ],
"@typescript-eslint/no-misused-promises": [ "@typescript-eslint/no-misused-promises": [
"error", "error",
@ -193,9 +181,6 @@
"no-implied-eval": [ "no-implied-eval": [
"off" "off"
], ],
"no-magic-numbers": [
"off"
],
"no-unused-vars": [ "no-unused-vars": [
"off" "off"
], ],