forked from side-peek/sidepeek_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
38 lines (38 loc) ยท 845 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
{
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": [
"^react(.*)",
"<THIRD_PARTY_MODULES>",
"^@tanstack/(.*)$",
"^styled-components",
"^@/(.*)$",
"^@common/(.*)$",
"^@components/(.*)$",
"^@apis/(.*)$",
"^@assets/(.*)$",
"^@hooks/(.*)$",
"^@pages/(.*)$",
"^@stores/(.*)$",
"^@utils/(.*)$",
"^@types/(.*)$",
"^@styles/(.*)$",
"^@mocks/(.*)$",
"^@constants/(.*)$",
"^App",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"endOfLine": "lf",
"printWidth": 80,
"tabWidth": 2,
"semi": false,
"singleQuote": false,
"useTabs": false,
"singleAttributePerLine": true,
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSameLine": true,
"jsxBracketSameLine": false,
"arrowParens": "always"
}