From 98779a5ae20a810a77f7b94332a133437012e3b1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 21 Oct 2021 14:56:47 +0200 Subject: [PATCH] Add pre-commit config. --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 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 0000000..d579736 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 # Use the ref you want to point at + hooks: + - id: check-yaml + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md]