f283a2e6a3
These are the basic config changes that enable auto-formatting. This is being run directly within this branch to prevent a plethora of merge conflicts when `fix/linting-errors` is merged into this branch.
91 lines
3.4 KiB
JSON
91 lines
3.4 KiB
JSON
{
|
|
"incremental": false,
|
|
"lineWidth": 120,
|
|
"indentWidth": 4,
|
|
"newLineKind": "lf",
|
|
"useTabs": false,
|
|
"typescript": {
|
|
"semiColons": "always",
|
|
"quoteStyle": "alwaysDouble",
|
|
"quoteProps": "asNeeded",
|
|
"useBraces": "always",
|
|
"bracePosition": "nextLine",
|
|
"singleBodyPosition": "maintain",
|
|
"nextControlFlowPosition": "nextLine",
|
|
"trailingCommas": "onlyMultiLine",
|
|
"operatorPosition": "nextLine",
|
|
"preferHanging": false,
|
|
"preferSingleLine": true,
|
|
"arrowFunction.useParentheses": "force",
|
|
"binaryExpression.linePerExpression": false,
|
|
"memberExpression.linePerExpression": false,
|
|
"typeLiteral.separatorKind": "semiColon",
|
|
"enumDeclaration.memberSpacing": "newLine",
|
|
"spaceAround": false,
|
|
"spaceSurroundingProperties": true,
|
|
"objectExpression.spaceSurroundingProperties": true,
|
|
"objectPattern.spaceSurroundingProperties": true,
|
|
"typeLiteral.spaceSurroundingProperties": true,
|
|
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
|
|
"commentLine.forceSpaceAfterSlashes": true,
|
|
"constructor.spaceBeforeParentheses": false,
|
|
"constructorType.spaceAfterNewKeyword": false,
|
|
"constructSignature.spaceAfterNewKeyword": false,
|
|
"doWhileStatement.spaceAfterWhileKeyword": true,
|
|
"module.sortImportDeclarations": "maintain",
|
|
"module.sortExportDeclarations": "maintain",
|
|
"exportDeclaration.sortNamedExports": "maintain",
|
|
"importDeclaration.sortNamedImports": "maintain",
|
|
"exportDeclaration.spaceSurroundingNamedExports": false,
|
|
"forInStatement.spaceAfterForKeyword": true,
|
|
"forOfStatement.spaceAfterForKeyword": true,
|
|
"forStatement.spaceAfterForKeyword": true,
|
|
"forStatement.spaceAfterSemiColons": true,
|
|
"functionDeclaration.spaceBeforeParentheses": false,
|
|
"functionExpression.spaceBeforeParentheses": false,
|
|
"functionExpression.spaceAfterFunctionKeyword": false,
|
|
"getAccessor.spaceBeforeParentheses": false,
|
|
"ifStatement.spaceAfterIfKeyword": true,
|
|
"importDeclaration.spaceSurroundingNamedImports": true,
|
|
"method.spaceBeforeParentheses": false,
|
|
"setAccessor.spaceBeforeParentheses": false,
|
|
"taggedTemplate.spaceBeforeLiteral": false,
|
|
"typeAnnotation.spaceBeforeColon": false,
|
|
"typeAssertion.spaceBeforeExpression": false,
|
|
"whileStatement.spaceAfterWhileKeyword": true
|
|
},
|
|
"json": {
|
|
"trailingCommas": "never",
|
|
"preferSingleLine": false
|
|
},
|
|
"markdown": {
|
|
"textWrap": "always",
|
|
"emphasisKind": "underscores",
|
|
"strongKind": "asterisks"
|
|
},
|
|
"dockerfile": {},
|
|
"excludes": [
|
|
"**/*.js",
|
|
"**/*.d.ts",
|
|
"**/*-lock.json",
|
|
"**/.git/**/*",
|
|
"**/node_modules/**/*",
|
|
"**/build/**/*",
|
|
"**/obj/**/*",
|
|
"**/dist/**/*",
|
|
"**/user/**/*",
|
|
"**/logs/**/*",
|
|
"**/assets/**/*",
|
|
"**/Aki_Data/**/*",
|
|
"**/types/**/*",
|
|
"**/tests/__cache__/**/*",
|
|
"**/tests/__coverage__/**/*"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/typescript-0.88.3.wasm",
|
|
"https://plugins.dprint.dev/json-0.19.0.wasm",
|
|
"https://plugins.dprint.dev/markdown-0.16.2.wasm",
|
|
"https://plugins.dprint.dev/dockerfile-0.3.0.wasm"
|
|
]
|
|
}
|