浏览代码

Add fix script for convenience

Kirk Trombley 4 年之前
父节点
当前提交
9b4bebffd5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/package.json

+ 1 - 0
client/package.json

@@ -21,6 +21,7 @@
     "format": "prettier --write src/",
     "lint": "eslint --report-unused-disable-directives 'src/**/*.js{,x}'",
     "lint:fix": "yarn lint --fix",
+    "fix": "yarn format && yarn lint:fix",
     "test": "react-scripts test",
     "test:ci": "CI=true yarn test",
     "test:cov": "yarn test --coverage --watchAll=false",