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

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

No files matched your search

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