Skip to content

Commit

Permalink
chore: set up commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lsndr committed Apr 15, 2024
1 parent 7c226d6 commit 983e44f
Show file tree
Hide file tree
Showing 5 changed files with 1,059 additions and 115 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
permissions:
contents: read # for checkout

env:
HUSKY: 0

jobs:
release:
name: Release
Expand Down
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 commitlint --edit ${1}
1 change: 1 addition & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
Loading

0 comments on commit 983e44f

Please sign in to comment.