-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.prettierrc
More file actions
29 lines (29 loc) · 636 Bytes
/
Copy path.prettierrc
File metadata and controls
29 lines (29 loc) · 636 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
{
"useTabs": false,
"tabWidth": 2,
"printWidth": 140,
"singleQuote": true,
"trailingComma": "es5",
"plugins": ["@prettier/plugin-oxc", "@ianvs/prettier-plugin-sort-imports"],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy", "@ianvs/prettier-plugin-sort-imports"],
"overrides": [
{
"files": ["**/*.{js,mjs,cjs,jsx}"],
"options": {
"parser": "oxc"
}
},
{
"files": ["**/*.{ts,mts,cts,tsx}"],
"options": {
"parser": "oxc-ts"
}
},
{
"files": ["**/*.spec.ts"],
"options": {
"printWidth": 160
}
}
]
}