mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: use commitlint in pre-commit
This commit is contained in:
@@ -15,6 +15,12 @@ repos:
|
|||||||
args: [--allow-multiple-documents]
|
args: [--allow-multiple-documents]
|
||||||
- id: check-xml
|
- id: check-xml
|
||||||
- id: check-added-large-files
|
- 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']
|
||||||
- repo: https://github.com/markdownlint/markdownlint
|
- repo: https://github.com/markdownlint/markdownlint
|
||||||
rev: v0.12.0
|
rev: v0.12.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
Reference in New Issue
Block a user