-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
27 lines (21 loc) · 910 Bytes
/
.prettierrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# vim:ft=yaml
# https://prettier.io/docs/options
# https://prettier.io/docs/configuration
---
# Print semicolons at the ends of statements. (default: true)
semi: false
# Change when properties in objects are quoted. <as-needed|consistent|preserve>
quoteProps: consistent
# Print trailing commas in multi-line syntactic structures. <es5|none|all>
trailingComma: none
# Put the `>` of a multi-line HTML element at the end of the last line instead
# of being alone on the next line. (default: false)
bracketSameLine: true
# Also wrap prose (e.g. Markdown) to the print width. <preserve|always|never>
proseWrap: preserve
# Keep object literals multi-line.
objectWrap: preserve
# strict = Whitespace around tags (or lack thereof) is significant.
# ignore = Whitespace around tags (or lack thereof) is insignificant.
# css = Use CSS `display` logic to determine significance.
htmlWhitespaceSensitivity: strict