-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
40 lines (40 loc) · 897 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
{
"endOfLine": "auto",
"trailingComma": "none",
"printWidth": 100,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"bracketSameLine": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"useTabs": false,
"quoteProps": "as-needed",
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"^(react-icons/(.*)$)|^(react-icons$)",
"^(zustand/(.*)$)|^(zustand$)",
"^(match-sorter/(.*)$)|^(match-sorter$)",
"<THIRD_PARTY_MODULES>",
"^types$",
"^~local/(.*)$",
"^~/config/(.*)$",
"^~/lib/(.*)$",
"^~/hooks/(.*)$",
"^~/components/(.*)$",
"^~/context/(.*)$",
"^~/utils/(.*)$",
"^~/styles/(.*)$",
"^[./]"
],
"importOrderParserPlugins": [
"typescript",
"jsx",
"decorators-legacy"
],
"plugins": [
"@ianvs/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
]
}