-
Notifications
You must be signed in to change notification settings - Fork 40
/
.pre-commit-config.yaml
43 lines (42 loc) · 1.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
repos:
- repo: local
hooks:
- id: make-operator-lint
name: make-operator-lint
language: system
entry: make
args: ['operator-lint']
pass_filenames: false
- id: make-tidy
name: make-tidy
language: system
entry: make
args: ['tidy']
pass_filenames: false
- id: make-golangci-lint
name: make-golangci-lint
language: system
entry: make
args: ['golangci']
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
exclude: ^vendor
- id: check-shebang-scripts-are-executable
exclude: ^vendor
- id: check-merge-conflict
- id: check-symlinks
- id: destroyed-symlinks
- id: check-yaml
args: [-m]
- id: detect-private-key
- id: end-of-file-fixer
exclude: ^vendor
- id: no-commit-to-branch
- id: trailing-whitespace
exclude: ^vendor