Explorar el Código

Add fix script for convenience

Kirk Trombley hace 4 años
padre
commit
9b4bebffd5
Se han modificado 1 ficheros con 1 adiciones y 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",