From b519c8c426452d7427b90b92ec7e60dad1d2130d Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Wed, 7 Dec 2022 20:00:57 -0500 Subject: [PATCH] chore: add pre-commit rule (see #72) --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 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 00000000..9ca476d0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.1.1 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [build, ci, docs, feat, fix, perf, refactor, style, test, chore] -- 2.47.2