Skip to content

Commit

Permalink
fix(lint): add husky pre-commit lint hook
Browse files Browse the repository at this point in the history
fix precommit lint issue

fix HospitalRun#1775
  • Loading branch information
ocBruno committed Feb 2, 2020
1 parent df8c938 commit ddf95ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
Expand Down

0 comments on commit ddf95ac

Please sign in to comment.