-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dprint.jsonc
31 lines (31 loc) · 1.07 KB
/
.dprint.jsonc
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
{
"lineWidth": 80,
"useTabs": true,
"indentWidth": 4,
"newLineKind": "lf",
"typescript": {
"semiColons": "prefer",
"quoteStyle": "alwaysDouble",
"module.sortImportDeclarations": "caseSensitive",
"importDeclaration.sortNamedImports": "caseSensitive",
"module.sortExportDeclarations": "caseSensitive",
"exportDeclaration.sortNamedExports": "caseSensitive",
"arrowFunction.useParentheses": "force",
// Preserve maximum overlap with the current formatter,
// then consider turning these off one by one.
// "operatorPosition": "sameLine",
"conditionalExpression.operatorPosition": "nextLine",
"conditionalType.operatorPosition": "nextLine",
"constructorType.spaceAfterNewKeyword": true,
"constructSignature.spaceAfterNewKeyword": true
},
// "includes": [
// "src/**/*.ts"
// ],
"plugins": [
// We use our own fork of the typescript plugin to support loop labels for now.
// When we update to upstream, we can also get rid of the shipped wasm file.
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm"
]
}