-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
55 lines (55 loc) · 1.49 KB
/
.pre-commit-config.yaml
File metadata and controls
55 lines (55 loc) · 1.49 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
repos:
# https://github.com/pre-commit/pre-commit-hooks#pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
name: Check added large files
args:
- --maxkb=1000
- id: check-toml
name: Check TOML
- id: check-yaml
name: Check YAML
args:
- --unsafe
- id: check-json
name: Check JSON
- id: end-of-file-fixer
name: End of file fixer
- id: trailing-whitespace
name: Trailing whitespace
- id: debug-statements
name: Debug Statements
- id: check-merge-conflict
name: Check merge conflict
- id: detect-private-key
name: Detect private key
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.0
hooks:
- id: yamllint
name: YAML Linter
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
name: Actionlint Linter
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.17.2
hooks:
- id: markdownlint-cli2
name: Markdown Linter
- repo: https://github.com/crate-ci/typos
rev: v1.30.2
hooks:
- id: typos
name: Typos Linter
- repo: https://github.com/google/yamlfmt
rev: v0.16.0
hooks:
- id: yamlfmt
name: YAML Formatter