mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 02:30:53 +00:00
72 lines
2.6 KiB
JSON
72 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://dprint.dev/schemas/v0.json",
|
|
"projectType": "openSource",
|
|
"incremental": true,
|
|
"lineWidth": 180,
|
|
"indentWidth": 2,
|
|
"useTabs": false,
|
|
"typescript": {
|
|
"useTabs": true,
|
|
"semiColons": "always",
|
|
"quoteStyle": "preferDouble",
|
|
"newLineKind": "lf",
|
|
"useBraces": "always",
|
|
"bracePosition": "nextLine",
|
|
"singleBodyPosition": "nextLine",
|
|
"nextControlFlowPosition": "nextLine",
|
|
"trailingCommas": "onlyMultiLine",
|
|
"operatorPosition": "nextLine",
|
|
"preferHanging": false,
|
|
"preferSingleLine": false,
|
|
"arrowFunction.useParentheses": "force",
|
|
"binaryExpression.linePerExpression": false,
|
|
"jsx.quoteStyle": "preferDouble",
|
|
"memberExpression.linePerExpression": false,
|
|
"typeLiteral.separatorKind": "semiColon",
|
|
"enumDeclaration.memberSpacing": "maintain",
|
|
"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,
|
|
"exportDeclaration.spaceSurroundingNamedExports": true,
|
|
"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,
|
|
"jsxExpressionContainer.spaceSurroundingExpression": false,
|
|
"method.spaceBeforeParentheses": false,
|
|
"setAccessor.spaceBeforeParentheses": false,
|
|
"taggedTemplate.spaceBeforeLiteral": true,
|
|
"typeAnnotation.spaceBeforeColon": false,
|
|
"typeAssertion.spaceBeforeExpression": true,
|
|
"whileStatement.spaceAfterWhileKeyword": true
|
|
},
|
|
"json": {},
|
|
"markdown": {},
|
|
"includes": ["**/*.{js,cjs,mjs,json,md}"],
|
|
"excludes": [
|
|
"dist",
|
|
"docs",
|
|
"node_modules",
|
|
"*-lock.json",
|
|
"out"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/typescript-0.48.0.wasm",
|
|
"https://plugins.dprint.dev/json-0.12.1.wasm",
|
|
"https://plugins.dprint.dev/markdown-0.9.2.wasm"
|
|
]
|
|
}
|