add dprint
This commit is contained in:
parent
458798b504
commit
4887b7d9db
3 changed files with 193 additions and 3 deletions
29
dprint.json
Normal file
29
dprint.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"typescript": {
|
||||
"lineWidth": 80,
|
||||
"useTabs": true,
|
||||
"quoteStyle": "alwaysSingle",
|
||||
"quoteProps": "consistent",
|
||||
"useBraces": "always",
|
||||
"arrowFunction.useParentheses": "preferNone",
|
||||
"enumDeclaration.memberSpacing": "newLine",
|
||||
"spaceSurroundingProperties": false,
|
||||
"exportDeclaration.spaceSurroundingNamedExports": false,
|
||||
"importDeclaration.spaceSurroundingNamedImports": false,
|
||||
"constructor.spaceBeforeParentheses": true,
|
||||
"functionDeclaration.spaceBeforeParentheses": true,
|
||||
"functionExpression.spaceBeforeParentheses": true,
|
||||
"getAccessor.spaceBeforeParentheses": true,
|
||||
"setAccessor.spaceBeforeParentheses": true,
|
||||
"method.spaceBeforeParentheses": true
|
||||
},
|
||||
"markdown": {},
|
||||
"excludes": [
|
||||
"**/node_modules",
|
||||
"**/*-lock.json"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/typescript-0.86.1.wasm",
|
||||
"https://plugins.dprint.dev/markdown-0.15.3.wasm"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue