allow negative numbers

This commit is contained in:
Timo Hocker 2019-12-24 13:24:18 +01:00
parent ac33eddcc2
commit 28243f4944

View File

@ -68,7 +68,7 @@ module.exports = {
enforceConst: true,
ignoreArrayIndexes: true,
detectObjects: true,
ignore: [0, 1, 2, 10]
ignore: [-2, -1, 0, 1, 2, 10]
}
],
'no-multi-spaces': 'error',