Skip to content

Commit

Permalink
chore: husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 committed Jan 4, 2024
1 parent 55d3ab0 commit 637e7f9
Show file tree
Hide file tree
Showing 3 changed files with 9 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 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Contribution Guide


This is the common top level contribution guide for this mono-repo.
A sub-package **may** have an additional CONTRIBUTING.md file if needed.

Expand Down Expand Up @@ -92,7 +91,7 @@ does not generate any artifacts for runtime.

### Release Life-Cycle.

This monorepo uses Lerna's [fixed / locked][lerna-mode] mode
This monorepo uses Lerna's [fixed / locked][lerna-mode] mode
and automatically generates the changelog by adhering to [Conventional Commits][cc]

[lerna-mode]: https://lerna.js.org/docs/features/version-and-publish#fixedlocked-mode-default
Expand Down

0 comments on commit 637e7f9

Please sign in to comment.