-
Notifications
You must be signed in to change notification settings - Fork 1
/
.prettierrc.json
52 lines (52 loc) · 913 Bytes
/
.prettierrc.json
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
{
"arrowParens": "avoid",
"bracketSpacing": true,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": [
"*.mjs",
"*.cjs",
"*.js"
],
"options": {
"parser": "babel"
}
},
{
"files": [
"*.mts",
"*.cts",
"*.ts"
],
"options": {
"parser": "babel-ts"
}
},
{
"files": [
"*.json",
"*.jsonc",
"*.json5"
],
"options": {
"parser": "json5",
"singleQuote": false,
"quoteProps": "preserve",
"trailingComma": "none",
"multilineArraysWrapThreshold": 0
}
}
],
"plugins": [
"prettier-plugin-multiline-arrays"
]
}