Explorar el Código

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

David Luzar hace 5 años
padre
commit
068dca604f
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 1
      package.json
  2. 0 1
      src/index.tsx

+ 1 - 1
package.json

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

+ 0 - 1
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,