-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc.json
37 lines (37 loc) · 996 Bytes
/
.prettierrc.json
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
{
"trailingComma": "none",
"tabWidth": 2,
"printWidth": 80,
"useTabs": false,
"semi": false,
"singleQuote": false,
"as-needed": true,
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"^(react-redux/(.*)$)|^(react-redux$)",
"<THIRD_PARTY_MODULES>",
"@/types/(.*)$",
"@/constants",
"@/constants/(.*)$",
"@/lib/(.*)$",
"@/services/(.*)$",
"@/utils/(.*)$",
"@/redux/(.*)$",
"@/hooks/(.*)$",
"@/components/(.*)$",
"@/style/(.*)$",
"@/(.*)$",
"^[./]"
],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"importOrderBuiltinModulesToTop": true,
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
"importOrderMergeDuplicateImports": true,
"importOrderCombineTypeAndValueImports": true,
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"]
}