feat(eslint): Rule "no-magic-numbers"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-13 23:59:20 +04:00
parent 1155911243
commit fc524a4609
2 changed files with 9 additions and 1 deletions

View File

@ -206,6 +206,14 @@
"no-extra-semi": [
"error"
],
"no-magic-numbers": [
"warn",
{
"detectObjects": false,
"enforceConst": true,
"ignoreArrayIndexes": false
}
],
"no-multi-spaces": [
"error",
{