-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdprint.json
More file actions
41 lines (41 loc) · 1.05 KB
/
dprint.json
File metadata and controls
41 lines (41 loc) · 1.05 KB
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
38
39
40
41
{
"$schema": "https://dprint.dev/schemas/v0.json",
"projectType": "openSource",
"incremental": true,
"typescript": {
"useTabs": false,
"indentWidth": 2,
"lineWidth": 100,
"semiColons": "asi",
"quoteStyle": "preferSingle",
"nextControlFlowPosition": "sameLine",
"operatorPosition": "maintain",
"singleBodyPosition": "maintain",
"trailingCommas": "onlyMultiLine",
"useBraces": "whenNotSingleLine",
"bracePosition": "sameLineUnlessHanging",
"spaceSurroundingProperties": true,
"objectExpression.spaceSurroundingProperties": true,
"importDeclaration.spaceSurroundingNamedImports": true,
"exportDeclaration.spaceSurroundingNamedExports": true
},
"json": {
"useTabs": false,
"indentWidth": 2,
"lineWidth": 100
},
"includes": [
"**/*.{ts,tsx,js,json,yaml,yml}"
],
"excludes": [
"node_modules",
"dist",
"pkg",
"target",
"**/*.d.ts"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm"
]
}