From 174fbffcfc2b57e48128f93e83dcf5618ddd98a0 Mon Sep 17 00:00:00 2001 From: Marcelo da Silva Pires Date: Tue, 14 Jan 2025 07:55:36 -0300 Subject: [PATCH] chore(config): Add pre-commit hook to enforce _Conventional commits_. Resolves: GH-7 --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..260453b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +default_install_hook_types: + - pre-commit + - commit-msg + +repos: + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v4.0.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [] \ No newline at end of file