Pārlūkot izejas kodu

Add fix script for convenience

Kirk Trombley 4 gadi atpakaļ
vecāks
revīzija
9b4bebffd5
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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",