From 068dca604ff132349d20e1ce5aeb0198298fe62e Mon Sep 17 00:00:00 2001 From: David Luzar Date: Wed, 8 Jan 2020 20:08:43 +0100 Subject: [PATCH] prevent commit on eslint warnings & fix lint (#268) --- package.json | 2 +- src/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index fc895d5b..432faa66 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "git add" ], "*.{js,ts,tsx}": [ - "eslint" + "eslint --max-warnings 0" ] } } diff --git a/src/index.tsx b/src/index.tsx index 3eeecb15..a7bcb8dc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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,