-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
45 lines (45 loc) · 1.15 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
---
repos:
- repo: https://github.com/lyz-code/yamlfix/
rev: 1.16.0
hooks:
- id: yamlfix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude: '^.docker/'
- id: check-added-large-files
args:
- --maxkb=512
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
exclude: '^.docker/'
- id: check-merge-conflict
- id: check-symlinks
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
exclude: '^.docker/'
- id: pretty-format-json
exclude: '^.docker/'
args:
- --autofix
- id: requirements-txt-fixer
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.23
hooks:
- id: shellcheck
exclude: '.*\.sh\.j2'
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
hooks:
- id: markdownlint-fix
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
hooks:
- id: actionlint-system