forked from dsherret/ts-morph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dprintrc.json
34 lines (34 loc) · 952 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
34
{
"$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",
"packages/ts-morph/src/compiler/ast/common/Node.ts"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.34.0.wasm",
"https://plugins.dprint.dev/json-0.7.2.wasm",
"https://plugins.dprint.dev/markdown-0.4.2.wasm"
]
}