prevent commit on eslint warnings & fix lint

This commit is contained in:
dwelle 2020-01-08 19:57:29 +01:00
parent 2122a9cf9f
commit ee7d3eeb3f
2 changed files with 1 additions and 2 deletions

View file

@ -51,7 +51,7 @@
"git add"
],
"*.{js,ts,tsx}": [
"eslint"
"eslint --max-warnings 0"
]
}
}

View file

@ -3,7 +3,6 @@ import ReactDOM from "react-dom";
import rough from "roughjs/bin/wrappers/rough";
import { moveOneLeft, moveAllLeft, moveOneRight, moveAllRight } from "./zindex";
import { randomSeed } from "./random";
import {
newElement,
duplicateElement,