-
Notifications
You must be signed in to change notification settings - Fork 6
/
dprint.json
152 lines (152 loc) · 5.04 KB
/
dprint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"lineWidth": 180,
"indentWidth": 4,
"newLineKind": "lf",
"useTabs": true,
"typescript": {
"semiColons": "always",
"quoteStyle": "preferSingle",
"quoteProps": "consistent",
"useBraces": "always",
"bracePosition": "sameLine",
"singleBodyPosition": "maintain",
"nextControlFlowPosition": "sameLine",
"trailingCommas": "never",
"operatorPosition": "maintain",
"preferHanging": false,
"preferSingleLine": false,
"arrowFunction.useParentheses": "force",
"binaryExpression.linePerExpression": false,
"jsx.bracketPosition": "nextLine",
"jsx.forceNewLinesSurroundingContent": false,
"jsx.multiLineParens": "always",
"memberExpression.linePerExpression": false,
"typeLiteral.separatorKind": "comma",
"enumDeclaration.memberSpacing": "newLine",
"spaceAround": false,
"spaceSurroundingProperties": true,
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
"commentLine.forceSpaceAfterSlashes": true,
"constructor.spaceBeforeParentheses": false,
"constructorType.spaceAfterNewKeyword": true,
"constructSignature.spaceAfterNewKeyword": true,
"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,
"jsxSelfClosingElement.spaceBeforeSlash": true,
"jsxExpressionContainer.spaceSurroundingExpression": false,
"method.spaceBeforeParentheses": false,
"setAccessor.spaceBeforeParentheses": false,
"taggedTemplate.spaceBeforeLiteral": false,
"typeAnnotation.spaceBeforeColon": false,
"typeAssertion.spaceBeforeExpression": true,
"whileStatement.spaceAfterWhileKeyword": true,
"module.sortImportDeclarations": "caseInsensitive",
"module.sortExportDeclarations": "caseInsensitive",
"exportDeclaration.sortNamedExports": "caseInsensitive",
"importDeclaration.sortNamedImports": "caseInsensitive",
"ignoreNodeCommentText": "dprint-ignore-line",
"ignoreFileCommentText": "dprint-ignore",
"exportDeclaration.forceSingleLine": false,
"importDeclaration.forceSingleLine": false,
"exportDeclaration.forceMultiLine": "never",
"importDeclaration.forceMultiLine": "never"
},
"json": {
"commentLine.forceSpaceAfterSlashes": true,
"preferSingleLine": false,
"trailingCommas": "never",
"jsonTrailingCommaFiles": ["tsconfig.json", ".vscode/settings.json"],
"ignoreNodeCommentText": "dprint-ignore-line"
},
"malva": {
"printWidth": 180,
"lineBreak": "lf",
"hexCase": "lower",
"hexColorLength": "long",
"quotes": "preferSingle",
"operatorLinebreak": "after",
"blockSelectorLinebreak": "consistent",
"omitNumberLeadingZero": false,
"trailingComma": false,
"padComments": true,
"linebreakInPseudoParens": false,
"declarationOrder": "alphabetical",
"singleLineBlockThreshold": 1,
"ignoreCommentDirective": "dprint-ignore"
},
"markdown": {
"textWrap": "maintain",
"emphasisKind": "underscores",
"strongKind": "asterisks",
"ignoreDirective": "dprint-ignore-line",
"ignoreFileDirective": "dprint-ignore",
"ignoreStartDirective": "dprint-ignore-start",
"ignoreEndDirective": "dprint-ignore-end"
},
"markup": {
"printWidth": 180,
"lineBreak": "lf",
"quotes": "double",
"formatComments": false,
"scriptIndent": true,
"styleIndent": true,
"closingBracketSameLine": false,
"closingTagLineBreakForEmpty": "fit",
"maxAttrsPerLine": null,
"preferAttrsSingleLine": false,
"html.normal.selfClosing": false,
"html.void.selfClosing": true,
"component.selfClosing": true,
"svg.selfClosing": true,
"mathml.selfClosing": false,
"whitespaceSensitivity": "css",
"component.whitespaceSensitivity": "css",
"doctypeKeywordCase": "upper",
"vBindStyle": "short",
"vOnStyle": "short",
"vForDelimiterStyle": "of",
"vSlotStyle": "short",
"vBindSameNameShortHand": false,
"astroAttrShorthand": true
},
"yaml": {
"printWidth": 180,
"useTabs": false,
"indentWidth": 2,
"lineBreak": "lf",
"quotes": "preferDouble",
"trailingComma": true,
"formatComments": false,
"indentBlockSequenceInMap": true,
"braceSpacing": true,
"bracketSpacing": false,
"dashSpacing": "oneSpace",
"trimTrailingWhitespaces": true,
"trimTrailingZero": false,
"ignoreCommentDirective": "dprint-ignore"
},
"excludes": [
"dist/**",
"**/node_modules",
"**/*-lock.json",
"**/.obsidian/**"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/g-plane/malva-v0.10.1.wasm",
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.13.1.wasm",
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
]
}