Skip to content

Commit

Permalink
feat: use pre-commit to enforce commit style
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Aug 18, 2023
1 parent 06c785d commit 4e8aea9
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 4e8aea9

Please sign in to comment.