Init commit
This commit is contained in:
93
.dprint.json
Normal file
93
.dprint.json
Normal file
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"typescript": {
|
||||
"lineWidth": 140,
|
||||
"indentWidth": 2,
|
||||
"useTabs": false,
|
||||
"semiColons": "asi",
|
||||
"quoteStyle": "alwaysSingle",
|
||||
"quoteProps": "preserve",
|
||||
"newLineKind": "lf",
|
||||
"useBraces": "whenNotSingleLine",
|
||||
"bracePosition": "sameLineUnlessHanging",
|
||||
"singleBodyPosition": "maintain",
|
||||
"nextControlFlowPosition": "sameLine",
|
||||
"trailingCommas": "never",
|
||||
"operatorPosition": "maintain",
|
||||
"preferHanging": false,
|
||||
"preferSingleLine": false,
|
||||
"arrowFunction.useParentheses": "preferNone",
|
||||
"binaryExpression.linePerExpression": false,
|
||||
"jsx.bracketPosition": "nextLine",
|
||||
"jsx.forceNewLinesSurroundingContent": false,
|
||||
"jsx.multiLineParens": "prefer",
|
||||
"memberExpression.linePerExpression": false,
|
||||
"typeLiteral.separatorKind.singleLine": "comma",
|
||||
"enumDeclaration.memberSpacing": "maintain",
|
||||
"spaceAround": false,
|
||||
"spaceSurroundingProperties": true,
|
||||
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
|
||||
"commentLine.forceSpaceAfterSlashes": true,
|
||||
"constructor.spaceBeforeParentheses": true,
|
||||
"constructorType.spaceAfterNewKeyword": false,
|
||||
"constructSignature.spaceAfterNewKeyword": false,
|
||||
"doWhileStatement.spaceAfterWhileKeyword": true,
|
||||
"exportDeclaration.spaceSurroundingNamedExports": true,
|
||||
"forInStatement.spaceAfterForKeyword": true,
|
||||
"forOfStatement.spaceAfterForKeyword": true,
|
||||
"forStatement.spaceAfterForKeyword": true,
|
||||
"forStatement.spaceAfterSemiColons": true,
|
||||
"functionDeclaration.spaceBeforeParentheses": true,
|
||||
"functionExpression.spaceBeforeParentheses": true,
|
||||
"functionExpression.spaceAfterFunctionKeyword": true,
|
||||
"getAccessor.spaceBeforeParentheses": true,
|
||||
"ifStatement.spaceAfterIfKeyword": true,
|
||||
"importDeclaration.spaceSurroundingNamedImports": true,
|
||||
"jsxSelfClosingElement.spaceBeforeSlash": true,
|
||||
"jsxExpressionContainer.spaceSurroundingExpression": false,
|
||||
"method.spaceBeforeParentheses": true,
|
||||
"setAccessor.spaceBeforeParentheses": true,
|
||||
"taggedTemplate.spaceBeforeLiteral": false,
|
||||
"typeAnnotation.spaceBeforeColon": false,
|
||||
"typeAssertion.spaceBeforeExpression": true,
|
||||
"whileStatement.spaceAfterWhileKeyword": true,
|
||||
"module.sortImportDeclarations": "maintain",
|
||||
"module.sortExportDeclarations": "maintain",
|
||||
"exportDeclaration.sortNamedExports": "maintain",
|
||||
"importDeclaration.sortNamedImports": "maintain",
|
||||
"ignoreNodeCommentText": "dprint-ignore",
|
||||
"ignoreFileCommentText": "dprint-ignore-file",
|
||||
"exportDeclaration.forceSingleLine": false,
|
||||
"importDeclaration.forceSingleLine": false,
|
||||
"exportDeclaration.forceMultiLine": "never",
|
||||
"importDeclaration.forceMultiLine": "never",
|
||||
"arrayExpression.spaceAround": true,
|
||||
"arrayPattern.spaceAround": true,
|
||||
"importDeclaration.preferSingleLine": true
|
||||
},
|
||||
"json": {},
|
||||
"markdown": {},
|
||||
"toml": {},
|
||||
"malva": {
|
||||
"quotes": "preferDouble",
|
||||
"printWidth": 140,
|
||||
"hexCase": "ignore",
|
||||
"blockSelectorLinebreak": "always"
|
||||
},
|
||||
"markup": {
|
||||
"printWidth": 160,
|
||||
"preferAttrsSingleLine": true
|
||||
},
|
||||
"excludes": [
|
||||
"**/node_modules",
|
||||
"**/*-lock.json",
|
||||
"packages/tests/fixtures/**/*"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/typescript-0.91.1.wasm",
|
||||
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
||||
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
|
||||
"https://plugins.dprint.dev/toml-0.6.2.wasm",
|
||||
"https://plugins.dprint.dev/g-plane/malva-v0.12.0.wasm",
|
||||
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.24.1.wasm"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user