Skip to content

Commit

Permalink
Add pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Delaney committed Mar 9, 2022
1 parent 5608c10 commit 6e7be87
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6e7be87

Please sign in to comment.