Explorar o código

fix(pre-commit): add commitizen

jguer %!s(int64=4) %!d(string=hai) anos
pai
achega
fa2af37eab
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      .pre-commit-config.yaml

+ 7 - 0
.pre-commit-config.yaml

@@ -20,3 +20,10 @@ repos:
       - id: trailing-whitespace
       - id: check-json
       - id: check-yaml
+      - id: check-added-large-files
+
+  - repo: https://github.com/Woile/commitizen
+    rev: v1.23.1
+    hooks:
+      - id: commitizen
+        stages: [commit-msg]