Skip to content

Commit

Permalink
Merge pull request #36 from CCBR/precommit
Browse files Browse the repository at this point in the history
On hotfix: add pre-commit config to enforce conventional commits style
  • Loading branch information
dnousome authored Aug 18, 2023
2 parents 06c785d + 4e8aea9 commit ece89cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
default_install_hook_types: [pre-commit, commit-msg]
default_stages: [pre-commit]
repos:
# enforce commit format
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: []

0 comments on commit ece89cf

Please sign in to comment.