-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdprint.json
61 lines (61 loc) · 1.72 KB
/
dprint.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"incremental": true,
"typescript": {
"arrowFunction.useParentheses": "force",
"binaryExpression.operatorPosition": "sameLine",
"bracePosition": "sameLineUnlessHanging",
"commentLine.forceSpaceAfterSlashes": true,
"enumDeclaration.memberSpacing": "newLine",
"functionDeclaration.spaceBeforeParentheses": true,
"functionExpression.spaceBeforeParentheses": false,
"ifStatement.singleBodyPosition": "nextLine",
"ifStatement.spaceAfterIfKeyword": true,
"ifStatement.useBraces": "always",
"importDeclaration.spaceSurroundingNamedImports": true,
"indentWidth": 2,
"lineWidth": 80,
"locked": true,
"operatorPosition": "nextLine",
"preferHanging": false,
"newLineKind": "lf",
"quoteStyle": "preferDouble",
"semiColons": "asi",
"spaceSurroundingProperties": true,
"trailingCommas": "onlyMultiLine",
"typeAnnotation.spaceBeforeColon": false,
"typeAssertion.spaceBeforeExpression": true,
"useTabs": true
},
"json": {
"indentWidth": 2,
"lineWidth": 80,
"locked": true,
"newLineKind": "lf",
"useTabs": true
},
"markdown": {
"emphasisKind": "underscores",
"lineWidth": 80,
"locked": true,
"newLineKind": "lf",
"strongKind": "asterisks",
"textWrap": "always"
},
"toml": {
"cargo.applyConventions": true,
"comment.forceLeadingSpace": true,
"indentWidth": 2,
"lineWidth": 80,
"locked": true,
"newLineKind": "lf",
"useTabs": true
},
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml}"],
"excludes": ["**/node_modules", "**/*-lock.json", ".history/**"],
"plugins": [
"https://plugins.dprint.dev/typescript-0.60.0.wasm",
"https://plugins.dprint.dev/json-0.13.2.wasm",
"https://plugins.dprint.dev/markdown-0.11.3.wasm",
"https://plugins.dprint.dev/toml-0.5.3.wasm"
]
}