prevent commit on eslint warnings & fix lint (#268)
This commit is contained in:
parent
37934c0f8b
commit
068dca604f
@ -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…
x
Reference in New Issue
Block a user