forked from oracle-quickstart/oci-kubernetes-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (30 loc) · 1.01 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
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
exclude: '^charts/.*/templates/'
- id: end-of-file-fixer
- id: trailing-whitespace
#- id: check-json
- id: check-merge-conflict
- id: check-symlinks
#- repo: https://github.com/Lucas-C/pre-commit-hooks
# rev: v1.5.1
# hooks:
# - id: insert-license
# exclude: '*.json|*.txt|.*.md|.*.txt|.pre-commit-config.yaml'
# args:
# - --license-filepath
# - ./docs/license-short.txt
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
hooks:
- id: helm-docs
args:
- --chart-search-root=charts
# The `./` makes it relative to the chart-search-root set above
#- --template-files=./_templates.gotmpl