-
Notifications
You must be signed in to change notification settings - Fork 26
/
.pre-commit-config.yaml
29 lines (29 loc) · 1.08 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
stages: [commit, merge-commit, push, manual]
- id: check-merge-conflict
stages: [commit, merge-commit, push, manual]
- id: check-symlinks
stages: [commit, merge-commit, push, manual]
- id: detect-private-key
stages: [commit, merge-commit, push, manual]
# - id: end-of-file-fixer
# stages: [commit, merge-commit, push, manual]
# - id: trailing-whitespace
# stages: [commit, merge-commit, push, manual]
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.4.0
hooks:
- id: commitlint
stages: [commit-msg, manual]
additional_dependencies: ['@commitlint/config-conventional']
# - repo: https://github.com/DavidAnson/markdownlint-cli2
# rev: v0.6.0
# hooks:
# - id: markdownlint-cli2
# stages: [commit, merge-commit, push, manual]