From e3aa3da305ae1af75a3907780112773958dfb598 Mon Sep 17 00:00:00 2001 From: erdtsksn Date: Wed, 14 Nov 2018 22:56:06 +0300 Subject: [PATCH] feat: Add pre-commit hook oth: Minimun 0.15.0 pre-commit version is required to use 'types'. iss: https://github.com/DavidAnson/markdownlint/pull/69 see: https://pre-commit.com/#new-hooks --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 00000000..cf4d2928 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: markdownlint + name: Markdownlint + description: "Checks the style of Markdown/Commonmark files." + entry: markdownlint + language: node + types: [markdown] + minimum_pre_commit_version: 0.15.0