prevent commit on eslint warnings & fix lint (#268)

This commit is contained in:
David Luzar 2020-01-08 20:08:43 +01:00 committed by GitHub
parent 37934c0f8b
commit 068dca604f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,