-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (42 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: check-added-large-files
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-tabs
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args: [--severity=error]
- repo: https://github.com/ansible-community/ansible-lint
rev: v24.12.2
hooks:
- id: ansible-lint
files: ^ansible/
always_run: false
entry: bash -c "cd ansible/ && exec ansible-lint --force-color"
- repo: https://github.com/zricethezav/gitleaks
rev: v8.22.0
hooks:
- id: gitleaks
- repo: local
hooks:
- id: kustomize
name: Kustomize
files: ^cluster/
entry: scripts/kustomize.sh
language: system
pass_filenames: false