Skip to content

Commit

Permalink
precommit: enable prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 26, 2023
1 parent 654d89c commit 8eaa75b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ repos:
- "--wrap-summaries=119"
- "--wrap-descriptions=120"

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
# https://prettier.io/docs/en/options.html#print-width
args: ["--print-width=120"]

- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore all MD files:
**/*.md

0 comments on commit 8eaa75b

Please sign in to comment.