generated from asdf-vm/asdf-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
61 lines (56 loc) · 1.95 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace # Trims trailing whitespace
exclude: ^shared/bats-libs/.*
- id: check-yaml # Validates YAML files
args:
- --allow-multiple-documents
- id: check-json # Validates JSON files
exclude: ^.vscode/.*
- id: check-toml # Validates TOML files
- id: check-xml # Validates XML files
- id: check-added-large-files # Checks for files that are added to the repository that are larger than a threshold
- id: check-case-conflict # Checks for files that would conflict in case-insensitive filesystems
- id: check-merge-conflict # Checks for files that contain merge conflict strings
- id: detect-private-key # Check for the existence of private keys
- id: check-executables-have-shebangs # Checks that executables have shebangs
- repo: https://gitlab.com/bmares/check-json5
rev: v1.0.0
hooks:
- id: check-json5
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.0.3
hooks:
- id: editorconfig-checker-system # Check editorconfig compliance
alias: ec
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck # Shell scripts conform to shellcheck
- id: shfmt # Check shell style with shfmt
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.17.2
hooks:
- id: markdownlint-cli2
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
args: [--config-data, relaxed, --no-warnings]
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt
args:
- --mapping
- '2'
- --sequence
- '4'
- --offset
- '2'
- --width
- '150'
- --explicit_start