From 1977dc2ce7147c79d1e37f372f7b15f0ab4eb74b Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Fri, 14 Aug 2020 14:41:11 -0500 Subject: [PATCH] Add a .pre-commit-config.yaml file. Signed-off-by: Matt Moyer --- .pre-commit-config.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..4290d430 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,16 @@ +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