Skip to content

Commit

Permalink
chore: setup conventional commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoporto committed Nov 9, 2024
1 parent 2f7f355 commit eaf5730
Show file tree
Hide file tree
Showing 5 changed files with 967 additions and 28 deletions.
5 changes: 5 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@commitlint/config-conventional"
]
}
6 changes: 6 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Validate the PR title and all commit messages
titleAndCommits: true

# Allow use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
allowMergeCommits: false
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
Loading

0 comments on commit eaf5730

Please sign in to comment.