-
Notifications
You must be signed in to change notification settings - Fork 2
/
.prettierrc.json
33 lines (33 loc) · 906 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
{
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"bracketSpacing": true,
"useTabs": false,
"endOfLine": "auto",
"singleAttributePerLine": false,
"bracketSameLine": false,
"jsxSingleQuote": true,
"quoteProps": "as-needed",
"semi": true,
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"<THIRD_PARTY_MODULES>",
"(.css)$",
"^(@/(.*)$)",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderBuiltinModulesToTop": true,
"importOrderGroupNamespaceSpecifiers": true,
"importOrderCaseInsensitive": true,
"importOrderMergeDuplicateImports": true,
"importOrderCombineTypeAndValueImports": true,
"importOrderParserPlugins": ["typescript", "jsx"],
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"pluginSearchDirs": false
}