From 6e7be87749c386cdb63ac2151458c36eb21a0f77 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Wed, 9 Mar 2022 11:18:44 -0500 Subject: [PATCH] Add pre-commit config --- .pre-commit-config.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..32694a7 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,24 @@ +--- +repos: + - repo: meta + hooks: + - id: check-hooks-apply + - id: check-useless-excludes + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.1.0 + hooks: + - id: check-merge-conflict + - id: end-of-file-fixer + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] + + - repo: https://github.com/executablebooks/mdformat + rev: 0.7.13 + hooks: + - id: mdformat + additional_dependencies: + - mdformat-gfm + - mdformat-toc + +# EOF