no magic numbers, except -1, 0, 1

This commit is contained in:
Thijs Wenker 2018-05-14 20:11:55 +02:00
parent e24523a29e
commit 20fb9034f8

View file

@ -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"}],