-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
35 lines (35 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
30
31
32
33
34
35
minimum_pre_commit_version: "3.5.0"
default_install_hook_types: [commit-msg, pre-commit]
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.13.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
stages: ["commit"]
- id: detect-private-key
stages: ["commit"]
- id: check-case-conflict
stages: ["commit"]
# - id: no-commit-to-branch
# args: [--branch, "develop", --branch, "main"] # To prevent committing changes locally to develop
- repo: https://github.com/errata-ai/vale
rev: abcac76
hooks:
- id: vale
args: [--output=line, --minAlertLevel=error]
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint-cli2
files: \.(md|mdx)$
types: ["file"]
# Useful for debugging hooks
# - repo: meta
# hooks:
# - id: identity