-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
90 lines (81 loc) · 2.05 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
fail_fast: false
default_stages:
- commit
- push
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
args:
- --maxkb=250
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-symlinks
- id: check-xml
- id: detect-private-key
- id: end-of-file-fixer
files: \^(?!proAlphaXsdDefinitions$).*$
- id: fix-byte-order-marker
- id: mixed-line-ending
args:
- --fix=auto
files: \^(?!proAlphaXsdDefinitions$).*$
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/adrienverge/yamllint
rev: v1.28.0
hooks:
- id: yamllint
args:
- --config-file
- .yamllint.config.yaml
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
hooks:
- id: remove-crlf
files: \^(?!proAlphaXsdDefinitions$).*$
- repo: https://github.com/sirosen/fix-smartquotes
rev: 0.2.0
hooks:
- id: fix-smartquotes
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint-fix
args:
- --config
- .markdownlint.yaml
- repo: https://github.com/k8s-at-home/sops-pre-commit
rev: v2.1.1
hooks:
- id: forbid-secrets
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
hooks:
- id: prettier
args:
- --ignore-path
- .prettierignore
- --config
- .prettierrc.yaml
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev: v1.1.1
hooks:
- id: dockerfile_lint
files: Dockerfile
types:
- file
- repo: https://github.com/pocc/pre-commit-hooks
rev: master
hooks:
- id: clang-format
args:
- -i
- --style=Google
- id: cppcheck
- id: include-what-you-use