-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.prettierrc.js
More file actions
31 lines (30 loc) · 681 Bytes
/
.prettierrc.js
File metadata and controls
31 lines (30 loc) · 681 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
26
27
28
29
30
31
/**
* Prettier configuration
*
* @see https://prettier.io/docs/en/configuration
* @copyright 2020-present YarnPlugins.com
*
* @type {import("prettier").RequiredOptions}
*/
module.exports = {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: false,
quoteProps: "as-needed",
jsxSingleQuote: false,
trailingComma: "all",
bracketSpacing: true,
jsxBracketSameLine: false,
arrowParens: "always",
rangeStart: 0,
rangeEnd: Infinity,
requirePragma: false,
insertPragma: false,
proseWrap: "preserve",
htmlWhitespaceSensitivity: "css",
vueIndentScriptAndStyle: false,
endOfLine: "lf",
embeddedLanguageFormatting: "auto",
};