Skip to content

Commit 7335757

Browse files
committed
Add prettier configuration to match search repo
Ignore vocabulary directory from upstream
1 parent 26e8981 commit 7335757

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://prettier.io/docs/en/ignore.html
2+
3+
# Ignore Vocabulary files (formatting handled upstream)
4+
src/vocabulary/

.prettierrc.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://prettier.io/docs/en/options.html#print-width
2+
printWidth: 79
3+
4+
# https://prettier.io/docs/en/options.html#bracket-line
5+
bracketSameLine: true
6+
7+
# https://prettier.io/docs/en/options.html#single-attribute-per-line
8+
singleAttributePerLine: true

0 commit comments

Comments
 (0)