소스 검색

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",