forked from morib-in/Morib-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
44 lines (43 loc) · 939 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
{
"plugins": [
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
],
"parser": "typescript",
"printWidth": 120,
"tabWidth": 2,
"useTabs": true,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "auto",
"importOrder": [
"^react(.*)",
"^@tanstack/(.*)$",
"^axios(.*)",
"^@/shared/pages/(.*)$",
"^@/shared/components/(.*)$",
"^@/shared/hooks/(.*)$",
"^@/shared/apis/(.*)$",
"^@/shared/utils/(.*)$",
"^@/shared/router/(.*)$",
"^@/shared/types/(.*)$",
"^@/shared/constants/(.*)$",
"^@/shared/assets/(.*)$",
"^@/router/(.*)$",
"^@/(.*)$",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"overrides": [
{
"files": "*.yml",
"options": {
"parser": "yaml"
}
}]
}