-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
41 lines (41 loc) · 927 Bytes
/
.prettierrc
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
{
"parser": "typescript",
"tabWidth": 2,
"trailingComma": "es5",
"bracketSpacing": true,
"insertPragma": false,
"bracketSameLine": false,
"arrowParens": "avoid",
"jsxSingleQuote": true,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"useTabs": false,
"importOrder": [
"^react(.*)$",
"<THIRD_PARTY_MODULES>",
"^(assets|components|constants|controllers|dataProvider|graphql|i18n|pages|services|shared|utils)(.*)$",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"overrides": [
{
"files": ["*.json", "*.jsonc", ".prettierrc", ".env-cmdrc"],
"options": {
"semi": false,
"parser": "json"
}
},
{
"files": ["*.yml", "*.yaml"],
"options": {
"semi": false,
"parser": "yaml"
}
}
]
}