Skip to content

Commit ee1c1fe

Browse files
committed
Add Prettier hook for Markdown and reformat documentation
1 parent f557a2d commit ee1c1fe

5 files changed

Lines changed: 244 additions & 181 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ repos:
77
- id: check-yaml
88
- id: check-added-large-files
99
- id: check-merge-conflict
10+
- repo: https://github.com/pre-commit/mirrors-prettier
11+
rev: v3.1.0
12+
hooks:
13+
- id: prettier
14+
args: [--prose-wrap, always, --print-width, "80"]
15+
types: [markdown]
1016
- repo: local
1117
hooks:
1218
- id: format

0 commit comments

Comments
 (0)