mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
no magic numbers, except -1, 0, 1
This commit is contained in:
parent
e24523a29e
commit
20fb9034f8
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module.exports = {
|
|||
"new-cap": ["error"],
|
||||
"no-console": ["off"],
|
||||
"no-floating-decimal": ["error"],
|
||||
// "no-magic-numbers": ["error", {"ignore": [0, 1], "ignoreArrayIndexes": true}],
|
||||
"no-magic-numbers": ["error", {"ignore": [-1, 0, 1], "ignoreArrayIndexes": true}],
|
||||
"no-multi-spaces": ["error"],
|
||||
"no-multiple-empty-lines": ["error"],
|
||||
"no-unused-vars": ["error", {"args": "none", "vars": "local"}],
|
||||
|
|
Loading…
Reference in a new issue