Explorar o código

Add fix script for convenience

Kirk Trombley %!s(int64=4) %!d(string=hai) anos
pai
achega
9b4bebffd5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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",