Skip to content

Commit 8118c31

Browse files
committed
readme: add settings for Prettier html formatting
1 parent fba0b73 commit 8118c31

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,29 @@ This is the presentation website for
33

44
We take pull request for content and FAQ improvements, as well as additons to
55
the list of Firecracker integrations.
6+
7+
When contributing to HTML pages in this repo, please format the entire file
8+
with the latest stable [Prettier](https://prettier.io/) release, using the
9+
settings below for the HTML parser.
10+
11+
```json
12+
{
13+
"arrowParens": "always",
14+
"bracketSpacing": true,
15+
"embeddedLanguageFormatting": "auto",
16+
"htmlWhitespaceSensitivity": "ignore",
17+
"insertPragma": false,
18+
"jsxBracketSameLine": false,
19+
"jsxSingleQuote": false,
20+
"printWidth": 120,
21+
"proseWrap": "preserve",
22+
"quoteProps": "as-needed",
23+
"requirePragma": false,
24+
"semi": true,
25+
"singleQuote": false,
26+
"tabWidth": 2,
27+
"trailingComma": "es5",
28+
"useTabs": false,
29+
"vueIndentScriptAndStyle": false
30+
}
31+
```

0 commit comments

Comments
 (0)