瀏覽代碼

Add lint script

Giovanni Giordano 5 年之前
父節點
當前提交
499035c267
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -23,7 +23,8 @@
     "start": "react-scripts start",
     "build": "react-scripts build",
     "test": "react-scripts test --env=jsdom",
-    "eject": "react-scripts eject"
+    "eject": "react-scripts eject",
+    "lint": "eslint src"
   },
   "browserslist": [
     ">0.2%",