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

pull/275/head
David Luzar 5 years ago committed by GitHub
parent 37934c0f8b
commit 068dca604f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save