Skip to content

Commit 600454f

Browse files
authored
Add prettier (#26)
1 parent 47bd891 commit 600454f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
repos:
3+
- repo: https://github.com/rbubley/mirrors-prettier
4+
rev: v3.3.3
5+
hooks:
6+
- id: prettier

.prettierrc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
printWidth: 120
3+
proseWrap: always
4+
quoteProps: as-needed

0 commit comments

Comments
 (0)