From 2d6d2bcd636500b46826f03fa29c0630d8b82f3f Mon Sep 17 00:00:00 2001 From: Somraj Saha <31373860+Jarmos-san@users.noreply.github.com> Date: Sun, 24 Sep 2023 20:40:55 +0530 Subject: [PATCH] chore: add the `commitlint` Pre-Commit hook --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93d696f..d173ff0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,3 +6,10 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files + + - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook + rev: v9.5.0 + hooks: + - id: commitlint + stages: [commit-msg] + additional_dependencies: ["@commitlint/config-conventional"]