-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdprint.json
More file actions
45 lines (45 loc) · 1.16 KB
/
dprint.json
File metadata and controls
45 lines (45 loc) · 1.16 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
42
43
44
45
{
"$schema": "https://dprint.dev/schemas/v0.json",
"lineWidth": 1000,
"useTabs": true,
"indentWidth": 4,
"yaml": {
"indentWidth": 4
},
"markup": {
"html.normal.selfClosing": true,
"html.void.selfClosing": true,
"singleAttrSameLine": true,
"maxAttrsPerLine": 1
},
"typescript": {
"arrayExpression.preferHanging": "onlySingleItem",
"arrowFunction.useParentheses": "force",
"binaryExpression.operatorPosition": "nextLine",
"ifStatement.nextControlFlowPosition": "maintain",
"semiColons": "always",
"trailingCommas": "onlyMultiLine",
"quoteStyle": "preferDouble",
"quoteProps": "consistent",
"importDeclaration.forceMultiLine": "whenMultiple"
},
"includes": [
"**/*.{ts,js,json,md,yml,yaml,html}"
],
"excludes": [
"**/node_modules",
"**/*-lock.json",
"**/tsconfig.json",
"**/CHANGELOG.md",
"**/lib",
"**/coverage",
"go/bin"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
"https://plugins.dprint.dev/json-0.21.0.wasm",
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm"
]
}