-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.prettierrc.cjs
More file actions
56 lines (46 loc) · 1.01 KB
/
.prettierrc.cjs
File metadata and controls
56 lines (46 loc) · 1.01 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
module.exports = {
/**
* https://prettier.io/docs/options.html#print-width
*/
printWidth: 100,
/**
* https://prettier.io/docs/en/options.html#tab-width
*/
tabWidth: 2,
/**
* https://prettier.io/docs/en/options.html#tabs
*/
useTabs: false,
/**
* https://prettier.io/docs/en/options.html#semicolons
*/
semi: true,
/**
* https://prettier.io/docs/en/options.html#quotes
*/
singleQuote: false,
/**
* https://prettier.io/docs/options.html#quote-props
*/
quoteProps: "consistent",
/**
* https://prettier.io/docs/en/options.html#trailing-commas
*/
trailingComma: "none",
/**
* https://prettier.io/docs/en/options.html#bracket-spacing
*/
bracketSpacing: true,
/**
* https://prettier.io/docs/en/options.html#arrow-function-parentheses
*/
arrowParens: "always",
/**
* https://prettier.io/docs/options.html#prose-wrap
*/
proseWrap: "preserve",
/**
* https://prettier.io/docs/options.html#end-of-line
*/
endOfLine: "lf"
};