Skip to content

Commit

Permalink
Merge pull request #125 from ankiiitraj/commit-lint
Browse files Browse the repository at this point in the history
feat: add commitlint package
  • Loading branch information
brent-hoover authored Oct 17, 2022
2 parents b78cf6d + cfe1218 commit 4243113
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"scripts": {
"test": "node --experimental-json-modules --no-warnings node_modules/mocha/bin/_mocha ./tests/*.* --full-trace",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
"lint:fix": "eslint . --fix",
"prepare": "husky install"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4243113

Please sign in to comment.