-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc
27 lines (27 loc) · 829 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
{
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "all",
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"^(react/(.*)$)|^(react$)|^(react-native(.*)$)",
"^(next/(.*)$)|^(next$)",
"^(@chakra-ui/react/(.*)$)|^(@chakra-ui/react$)",
"<THIRD_PARTY_MODULES>",
"",
"^(layouts/(.*)$)|^(layouts$)",
"^(utils/(.*)$)|^(utils$)",
"^(hooks/(.*)$)|^(hooks$)",
"^(pages/(.*)$)|^(pages$)",
"^(components/(.*)$)|^(components$)",
"^~/(.*)$",
"^[./]"
],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"importOrderBuiltinModulesToTop": true,
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
"importOrderMergeDuplicateImports": true,
"importOrderCombineTypeAndValueImports": true
}