Add pre-commit config

This commit is contained in:
Ryan Delaney 2022-03-09 11:18:44 -05:00
parent 5608c10976
commit 6e7be87749
1 changed files with 24 additions and 0 deletions

24
.pre-commit-config.yaml Normal file
View File

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