From 1b13b36421487d17f83ddacd0326fda665beefed Mon Sep 17 00:00:00 2001 From: shmileee Date: Wed, 25 Aug 2021 17:16:14 +0200 Subject: [PATCH] chore: add pre-commit --- .pre-commit-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 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..656057b --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: + - repo: git://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 + hooks: + - id: check-json + - id: check-merge-conflict + - id: check-yaml + - id: detect-private-key + - id: pretty-format-json + args: + - --autofix + - id: trailing-whitespace + + - repo: git://github.com/igorshubovych/markdownlint-cli + rev: v0.28.1 + hooks: + - id: markdownlint