diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..cc3632a --- /dev/null +++ b/.pre-commit-config.yaml @@ -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: []