forked from markosamuli/ansible-linuxbrew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
46 lines (41 loc) · 1.19 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: check-yaml
- id: pretty-format-json
args: ["--autofix", "--indent=2", "--no-sort-keys"]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.29.0
hooks:
- id: yamllint
- repo: https://github.com/ansible/ansible-lint.git
rev: v6.13.1
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
exclude: .github/workflows/pipeline.yml
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.17
hooks:
- id: shellcheck
files: (tests/run-.*|tests/update)$
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.6.0-1
hooks:
- id: shfmt
files: (tests/run-.*|tests/update)$
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.33.0
hooks:
- id: markdownlint