-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (35 loc) · 1.05 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
36
# Check out https://pre-commit.com/ for documentation
# and https://pre-commit.com/hooks.html for more hooks
minimum_pre_commit_version: 2.20.0
repos:
# --- Built-in hooks --
- hooks:
- id: check-symlinks
- id: check-case-conflict
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-toml
- id: check-json
- id: fix-encoding-pragma
args: ["--remove"]
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- id: check-yaml
exclude: ^recipes/.*
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
# --- Commit msg checks ---
- repo: https://github.com/commitizen-tools/commitizen
hooks:
- id: commitizen
stages: ["commit-msg"]
rev: v2.29.0
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: prettier
stages: [commit]
exclude: ^recipes/.*
rev: v2.7.1