/
dprint.json
33 lines (33 loc) · 1.01 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
{
"incremental": true,
"indentWidth": 2,
"lineWidth": 120,
"newLineKind": "lf",
"typescript": {
"semiColons": "asi",
"indentWidth": 2,
"lineWidth": 120,
"useBraces": "always",
"bracePosition": "sameLineUnlessHanging",
"singleBodyPosition": "nextLine",
"preferSingleLine": false,
"quoteStyle": "alwaysSingle",
"trailingCommas": "onlyMultiLine",
"ignoreNodeCommentText": "dprint-ignore",
"ignoreFileCommentText": "dprint-ignore-file",
"memberExpression.linePerExpression": true,
"memberExpression.preferSingleLine": true,
"binaryExpression.operatorPosition": "sameLine",
"module.sortImportDeclarations": "caseInsensitive",
"module.sortExportDeclarations": "caseInsensitive"
},
"json": {
"preferSingleLine": false
},
"excludes": ["**/node_modules", "**/*-lock.json"],
"plugins": [
"https://plugins.dprint.dev/typescript-0.89.0.wasm",
"https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm"
]
}