-
Notifications
You must be signed in to change notification settings - Fork 31
/
.prettierrc
46 lines (46 loc) · 992 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
42
43
44
45
46
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "auto",
"embeddedLanguageFormatting": "auto",
"singleAttributePerLine": false,
"plugins": [
"@ianvs/prettier-plugin-sort-imports"
],
"importOrderParserPlugins": ["typescript", "classProperties", "jsx"],
"importOrderTypeScriptVersion": "5.1.6",
"importOrder": [
"<BUILTIN_MODULES>",
"",
"<THIRD_PARTY_MODULES>",
"",
"^@/components$",
"^@/components/(.*)$",
"",
"^@/hooks$",
"^@/hooks/(.*)$",
"",
"^@/services$",
"^@/services/(.*)$",
"",
"^@/utils$",
"^@/utils/(.*)$",
"",
"^@/css/(.*)$",
"",
"^[.]"
]
}