-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprettier.config.js
More file actions
25 lines (23 loc) · 711 Bytes
/
prettier.config.js
File metadata and controls
25 lines (23 loc) · 711 Bytes
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
/**
* The configuration for prettier, a JS and TS formatter.
*/
const config = {
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": true,
"embeddedLanguageFormatting": "auto",
"singleAttributePerLine": false,
"proseWrap": "preserve",
}
export default config;