forked from openshift-hyperfleet/hyperfleet-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
26 lines (23 loc) · 821 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
26 lines (23 loc) · 821 Bytes
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
default_install_hook_types: [pre-commit, commit-msg]
repos:
# Secret scanning (VPN-free, open-source alternative to rh-pre-commit)
- repo: https://github.com/leaktk/leaktk
rev: e62a495260dc1e396fa586e51bbe1355f6fc7d9d # v0.3.3
hooks:
- id: leaktk.git.pre-commit
# HyperFleet code quality hooks
- repo: https://github.com/openshift-hyperfleet/hyperfleet-hooks
rev: 7f5119208e5cdee3f0c688881b6a4b803095f203 # v0.2.1
hooks:
- id: hyperfleet-commitlint
stages: [commit-msg]
- id: hyperfleet-gofmt
- id: hyperfleet-golangci-lint
- id: hyperfleet-go-vet
# File hygiene
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0 # v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files