Skip to content

Commit 0d060d9

Browse files
committed
test: update commitlint hook to v19.8.1
* add hook `commitlint-ci` that lints commit messages since the last tag
1 parent 4c94672 commit 0d060d9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ ci:
1717
submodules: false
1818
default_stages: [pre-commit]
1919
repos:
20-
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
21-
rev: v2.3.0
20+
- repo: https://github.com/dafyddj/mirrors-commitlint
21+
rev: v19.8.1
2222
hooks:
2323
- id: commitlint
24-
name: Check commit message using commitlint
25-
description: Lint commit message against @commitlint/config-conventional rules
26-
stages: [commit-msg]
27-
additional_dependencies: ['@commitlint/[email protected]']
24+
- id: commitlint-ci
2825
- repo: https://github.com/rubocop-hq/rubocop
2926
rev: v1.75.8
3027
hooks:

0 commit comments

Comments
 (0)