From 1cfadcb0e067372abcccd4c23da2a28ef11b5c7e Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Wed, 10 Nov 2021 00:25:54 -0800 Subject: [PATCH] add pre-commit configuration --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 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..852cdc4a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-json + - id: check-yaml + - id: check-added-large-files