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
This commit is contained in:
erdtsksn 2018-11-14 22:56:06 +03:00
parent a4f541fdf4
commit e3aa3da305

7
.pre-commit-hooks.yaml Normal file
View file

@ -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