fix(typescript): no-magic-numbers
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
dbccc60825
commit
ca6f51b665
@ -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"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user