-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
36 lines (36 loc) · 1 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
{
"trailingComma": "es5",
"tabWidth": 4,
"printWidth": 120,
"singleQuote": true,
"importOrder": ["^ag-grid-(.*)$", "^[./]"],
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"overrides": [
{
"files": [
"package.json",
"package-lock.json",
"nx.json",
"project.json",
"tsconfig{.{base,lib,spec,tools},}.json",
".vscode/*.json"
],
"options": { "tabWidth": 2 }
},
{
"files": ["*.{jsx,tsx}"],
"options": {
"importOrderParserPlugins": ["typescript", "decorators-legacy", "jsx"]
}
},
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
],
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-astro"]
}