-
Notifications
You must be signed in to change notification settings - Fork 204
/
Copy path.dprintrc.json
33 lines (33 loc) · 895 Bytes
/
.dprintrc.json
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
{
"$schema": "https://dprint.dev/schemas/v0.json",
"projectType": "openSource",
"incremental": true,
"lineWidth": 160,
"typescript": {
"useBraces": "preferNone",
"singleBodyPosition": "nextLine",
"preferHanging": true,
"nextControlFlowPosition": "nextLine",
"arrowFunction.useParentheses": "preferNone",
"tryStatement.nextControlFlowPosition": "sameLine",
"quoteStyle": "alwaysDouble",
"semiColons": "always"
},
"json": {
"indentWidth": 2
},
"includes": ["**/*.{ts,tsx,js,jsx,json,md}"],
"excludes": [
"**/node_modules",
"**/*-lock.json",
"packages/*/dist/**/*.*",
"packages/*/lib/*.ts",
"**/CHANGELOG.md",
"**/wrapped-nodes.md"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.27.0.wasm",
"https://plugins.dprint.dev/json-0.7.0.wasm",
"https://plugins.dprint.dev/markdown-0.4.0.wasm"
]
}