-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.prettierrc
52 lines (52 loc) · 1.65 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
{
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"importOrder": [
"^(^payload$|^payload/(.*)$)$",
"^(^@payloadcms$|^@payloadcms/(.*)$)$",
"^(react|react-dom)$",
"<THIRD_PARTY_MODULES>",
"^(^types$)|(^types/(.*)$)$",
"^(^assets$)|(^assets/(.*)$)$",
"^(^locales$)|(^locales/(.*)$)$",
"^i18n$",
"^(^components$)|(^components/(.*)$)$",
"^(^collections$)|(^collections/(.*)$)$",
"^(^globals$)|(^globals/(.*)$)$",
"^(^blocks$)|(^blocks/(.*)$)$",
"^(^fields$)|(^fields/(.*)$)$",
"^(^hooks$)|(^hooks/(.*)$)$",
"^(^utils$)|(^utils/(.*)$)$",
"^(../)(^types$)|(^types/(.*)$)$",
"^(../)(^assets$)|(^assets/(.*)$)$",
"^(../)(^locales$)|(^locales/(.*)$)$",
"^(../)(^components$)|(^components/(.*)$)$",
"^(../)(^collections$)|(^collections/(.*)$)$",
"^(../)(^globals$)|(^globals/(.*)$)$",
"^(../)(^fields$)|(^fields/(.*)$)$",
"^(../)(^hooks$)|(^hooks/(.*)$)$",
"^(../)(^utils$)|(^utils/(.*)$)$",
"^(./)(^types$)|(^types/(.*)$)$",
"^(./)(^assets$)|(^assets/(.*)$)$",
"^(./)(^locales$)|(^locales/(.*)$)$",
"^(./)(^components$)|(^components/(.*)$)$",
"^(./)(^collections$)|(^collections/(.*)$)$",
"^(./)(^globals$)|(^globals/(.*)$)$",
"^(./)(^fields$)|(^fields/(.*)$)$",
"^(./)(^hooks$)|(^hooks/(.*)$)$",
"^(./)(^utils$)|(^utils/(.*)$)$",
"^(../)",
"^(./)"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"printWidth": 120,
"proseWrap": "always",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}