Skip to content

Commit facdb8d

Browse files
Merge pull request #6 from aws-exporters/pre_commit_hooks
chore: Add pre-commit hooks
2 parents 0314a2c + e6dedda commit facdb8d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.0.1
4+
hooks:
5+
- id: no-commit-to-branch
6+
- id: check-merge-conflict
7+
- id: check-yaml
8+
exclude: ^charts/.+/templates/
9+
- id: end-of-file-fixer
10+
- id: trailing-whitespace
11+
- repo: https://github.com/norwoodj/helm-docs
12+
rev: v1.6.0
13+
hooks:
14+
- id: helm-docs
15+
args:
16+
- --chart-search-root=charts
17+
- --template-files=README.md.gotmpl

0 commit comments

Comments
 (0)