2020-08-31 21:41:22 +00:00
|
|
|
exclude: '^generated/'
|
2020-08-14 19:41:11 +00:00
|
|
|
repos:
|
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.2.0
|
|
|
|
hooks:
|
|
|
|
# TODO: find a version of this to validate ytt templates?
|
|
|
|
# - id: check-yaml
|
|
|
|
# args: ['--allow-multiple-documents']
|
|
|
|
- id: check-json
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-byte-order-marker
|
|
|
|
- id: detect-private-key
|
|
|
|
exclude: testdata
|
|
|
|
- id: mixed-line-ending
|