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"
|
"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"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user