forked from UI-Lovelace-Minimalist/UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
31 lines (28 loc) · 877 Bytes
/
.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
---
repos:
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.0.1"
hooks:
- id: "no-commit-to-branch"
args: ["--branch", "main"]
- id: "check-merge-conflict"
- id: "trailing-whitespace"
- id: "mixed-line-ending"
- id: "end-of-file-fixer"
- id: "check-yaml"
args: ["--unsafe"]
- repo: "https://github.com/adrienverge/yamllint.git"
rev: "v1.26.3"
hooks:
- id: "yamllint"
args: ["--format", "parsable", "--strict"]
- repo: "https://github.com/jumanjihouse/pre-commit-hook-yamlfmt"
rev: "0.1.0"
hooks:
- id: "yamlfmt"
args: ["--mapping", "2", "--sequence", "4", "--offset", "2", "--preserve-quotes"]
exclude: ".*"
- repo: "https://github.com/mattlqx/pre-commit-search-and-replace"
rev: "v1.0.5"
hooks:
- id: "search-and-replace"