Auto-format code (#277)
This commit is contained in:
25
.github/config/dprint.json
vendored
Normal file
25
.github/config/dprint.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://dprint.dev/schemas/v0.json",
|
||||
"projectType": "openSource",
|
||||
"incremental": true,
|
||||
"indentWidth": 2,
|
||||
"typescript": {
|
||||
"lineWidth": 280,
|
||||
"semiColons": "asi",
|
||||
"quoteStyle": "preferDouble",
|
||||
"useBraces": "preferNone",
|
||||
"singleBodyPosition": "nextLine",
|
||||
"arrowFunction.useParentheses": "preferNone",
|
||||
"commentLine.forceSpaceAfterSlashes": false,
|
||||
"taggedTemplate.spaceBeforeLiteral": false,
|
||||
"nextControlFlowPosition": "nextLine"
|
||||
},
|
||||
"includes": ["**/*.{js,mjs}"],
|
||||
"excludes": [
|
||||
"**/node_modules",
|
||||
"**/.github"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/typescript-0.42.0.wasm"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user