Skip to content

Commit

Permalink
chore: add husky hook to lint commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
leahjlou committed Sep 2, 2022
1 parent fea156e commit 32d4814
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit ${1}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"start": "next start",
"typecheck": "tsc --noEmit",
"test:e2e": "playwright test",
"test:unit": "jest --forceExit ./src"
"test:unit": "jest --forceExit ./src",
"prepare": "husky install"
},
"version": "1.0.0",
"author": "Hiro Systems PBC (formerly Blockstack PBC)",
Expand Down

0 comments on commit 32d4814

Please sign in to comment.