You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ Below are the options (from [`src/plugin.ts`](src/plugin.ts)) that `@prettier/pl
51
51
|`bracketSameLine`|`--bracket-same-line`|`true`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#bracket-same-line)) |
52
52
|`printWidth`|`--print-width`|`80`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)). |
53
53
|`tabWidth`|`--tab-width`|`2`| Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tab-width)). |
54
+
|`xmlSelfClosingSpace`|`--xml-self-closing-space`|`true`| Adds a space before self-closing tags. |
54
55
|`xmlWhitespaceSensitivity`|`--xml-whitespace-sensitivity`|`"strict"`| Options are `"strict"` and `"ignore"`. You may want `"ignore"`, [see below](#whitespace). |
55
56
56
57
Any of these can be added to your existing [prettier configuration
0 commit comments