Skip to content

Commit

Permalink
chore: add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shmileee committed Aug 25, 2021
1 parent 3bb4916 commit 1b13b36
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1b13b36

Please sign in to comment.