-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.prettierrc
More file actions
29 lines (29 loc) · 686 Bytes
/
.prettierrc
File metadata and controls
29 lines (29 loc) · 686 Bytes
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
{
"plugins": ["prettier-plugin-astro", "@trivago/prettier-plugin-sort-imports"],
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
],
"importOrder": [
"<THIRD_PARTY_MODULES>",
"^@internal/(.*)$",
"^@/models/(.*)$",
"^@/utils/(.*)$",
"^@/components/(?!ui/)(.*)$",
"^@/components/ui/(.*)$",
"^[./].*(?<!\\.(c|le|sc)ss)$",
"^[.]/[-a-zA-Z0-9_]+[.](module)[.](css|scss|less)$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}