-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (37 loc) · 1.12 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (37 loc) · 1.12 KB
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
# Generated folders and files are supposed to be excluded from the
# list if pre-commit inconsistencies in generated content by modifying
# them.
exclude: |
(?x)^(
addon-resizer/vendor/ |
cluster-autoscaler/cloudprovider/oci/vendor-internal/ |
vertical-pod-autoscaler/
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-added-large-files
rev: v3.1.0
- repo: https://github.com/gruntwork-io/pre-commit
hooks:
- id: helmlint
rev: v0.1.9
- repo: https://github.com/norwoodj/helm-docs
hooks:
- id: helm-docs-built
files: (README\.md\.gotmpl|(Chart|requirements|values)\.yaml)$
rev: v1.14.2
- repo: local
hooks:
- id : update-flags
name: Update Cluster-Autoscaler Flags Table
entry: bash cluster-autoscaler/hack/update-faq-flags.sh
language: system
files: cluster-autoscaler/config/flags/flags\.go
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v1.0.0-rc.4
hooks:
- id: go-fmt