Sfoglia il codice sorgente

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

David Luzar 5 anni fa
parent
commit
068dca604f
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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,