-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dprint.jsonc
155 lines (155 loc) · 5.23 KB
/
.dprint.jsonc
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
153
154
155
{
"$schema": "https://dprint.dev/schemas/v0.json",
"excludes": [
"!**/__fixtures__/**/dist/",
"!**/__fixtures__/**/node_modules/",
"!**/typings/**/dist/",
"!scratch.ts",
"**/*.patch",
"**/*.snap",
"**/*config.*.timestamp*",
"**/.temp/",
"**/.vercel/",
"**/__fixtures__/git/**/*.txt",
"**/__tests__/benchmark.json",
"**/__tests__/report.json",
"**/__tests__/typecheck.json",
"**/coverage/",
"**/dist/",
"**/node_modules",
"**/tsconfig*temp.json",
".git/",
".husky/_/",
".yarn/",
"CHANGELOG.md",
"LICENSE.md",
"RELEASE_NOTES.md",
"yarn.lock"
],
"exec": {
"commands": [
{
"command": "node ./dprint/prettier.mjs {{file_path}}",
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
"stdin": true
},
{
"command": "node ./dprint/shfmt.mjs {{file_path}}",
"exts": ["sh", "txt", "zsh"],
"fileNames": [
".editorconfig",
".env",
".env.local",
".env.repo",
".eslintcache",
".eslintignore",
".gitattributes",
".gitconfig",
".gitignore",
".markdownlintignore",
".npmrc",
".nvmrc",
"Brewfile",
"commit-msg",
"pre-commit",
"pre-push"
],
"stdin": true
}
]
},
"incremental": true,
"indentWidth": 2,
"json": {
"associations": ["**/*.{jsonc,json}"],
"array.preferSingleLine": false,
"commentLine.forceSpaceAfterSlashes": true,
"ignoreNodeCommentText": "dprint-ignore",
"object.preferSingleLine": false,
"trailingCommas": "never"
},
"lineWidth": 80,
"markdown": {
"associations": ["**/*.{md,mdx}"],
"emphasisKind": "asterisks",
"ignoreDirective": "dprint-ignore",
"ignoreEndDirective": "dprint-ignore-end",
"ignoreFileDirective": "dprint-ignore-file",
"ignoreStartDirective": "dprint-ignore-start",
"lineWidth": 120,
"strongKind": "asterisks",
"textWrap": "maintain"
},
"newLineKind": "lf",
"plugins": [
"https://plugins.dprint.dev/typescript-0.91.3.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0"
],
"typescript": {
"arrowFunction.useParentheses": "preferNone",
"binaryExpression.linePerExpression": false,
"binaryExpression.operatorPosition": "sameLine",
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
"bracePosition": "sameLine",
"commentLine.forceSpaceAfterSlashes": false,
"constructSignature.spaceAfterNewKeyword": true,
"constructor.spaceBeforeParentheses": false,
"constructorType.spaceAfterNewKeyword": true,
"doWhileStatement.spaceAfterWhileKeyword": true,
"enumDeclaration.memberSpacing": "maintain",
"exportDeclaration.forceMultiLine": "never",
"exportDeclaration.forceSingleLine": false,
"exportDeclaration.sortNamedExports": "maintain",
"exportDeclaration.spaceSurroundingNamedExports": true,
"forInStatement.spaceAfterForKeyword": true,
"forOfStatement.spaceAfterForKeyword": true,
"forStatement.spaceAfterForKeyword": true,
"forStatement.spaceAfterSemiColons": true,
"functionDeclaration.spaceBeforeParentheses": false,
"functionExpression.spaceAfterFunctionKeyword": false,
"functionExpression.spaceBeforeParentheses": false,
"getAccessor.spaceBeforeParentheses": false,
"ifStatement.spaceAfterIfKeyword": true,
"ignoreFileCommentText": "dprint-ignore-file",
"ignoreNodeCommentText": "dprint-ignore",
"importDeclaration.forceMultiLine": "never",
"importDeclaration.forceSingleLine": false,
"importDeclaration.sortNamedImports": "maintain",
"importDeclaration.spaceSurroundingNamedImports": true,
"jsx.bracketPosition": "nextLine",
"jsx.forceNewLinesSurroundingContent": false,
"jsx.multiLineParens": "prefer",
"jsx.quoteStyle": "preferSingle",
"jsxExpressionContainer.spaceSurroundingExpression": false,
"jsxSelfClosingElement.spaceBeforeSlash": true,
"memberExpression.linePerExpression": false,
"method.spaceBeforeParentheses": false,
"module.sortExportDeclarations": "caseSensitive",
"module.sortImportDeclarations": "caseSensitive",
"newLineKind": "lf",
"nextControlFlowPosition": "sameLine",
"objectExpression.spaceSurroundingProperties": true,
"objectPattern.spaceSurroundingProperties": true,
"operatorPosition": "nextLine",
"preferHanging": true,
"preferSingleLine": false,
"quoteProps": "asNeeded",
"quoteStyle": "alwaysSingle",
"semiColons": "asi",
"setAccessor.spaceBeforeParentheses": false,
"singleBodyPosition": "sameLine",
"spaceAround": false,
"spaceSurroundingProperties": true,
"taggedTemplate.spaceBeforeLiteral": false,
"trailingCommas": "never",
"typeAnnotation.spaceBeforeColon": false,
"typeAssertion.spaceBeforeExpression": false,
"typeLiteral.separatorKind.singleLine": "semiColon",
"typeLiteral.spaceSurroundingProperties": true,
"useBraces": "maintain",
"whileStatement.spaceAfterWhileKeyword": true
},
"useTabs": false
}