forked from ag-grid/ag-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prettierrc
37 lines (37 loc) · 1.01 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
{
"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",
".eslintrc.json",
"tsconfig*.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"]
}