-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdprint.json
More file actions
51 lines (51 loc) · 1.77 KB
/
dprint.json
File metadata and controls
51 lines (51 loc) · 1.77 KB
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
{
"$schema": "https://dprint.dev/schemas/v0.json",
"lineWidth": 110,
"indentWidth": 2,
"useTabs": false,
"newLineKind": "lf",
"typescript": {
"quoteStyle": "preferSingle",
"jsx.quoteStyle": "preferSingle",
"semiColons": "asi",
"trailingCommas": "onlyMultiLine",
"arrowFunction.useParentheses": "preferNone",
"preferSingleLine": true,
"operatorPosition": "sameLine",
"binaryExpression.linePerExpression": false,
"memberExpression.linePerExpression": false,
"conditionalExpression.linePerExpression": true,
"parameters.preferSingleLine": true,
"arguments.preferSingleLine": true,
"typeLiteral.separatorKind": "semiColon",
"enumDeclaration.memberSpacing": "newLine",
"importDeclaration.sortNamedImports": "caseInsensitive",
"exportDeclaration.sortNamedExports": "caseInsensitive",
"module.sortImportDeclarations": "caseInsensitive",
"module.sortExportDeclarations": "caseInsensitive"
},
"json": {
"lineWidth": 100,
"indentWidth": 2,
"trailingCommas": "never",
"preferSingleLine": true
},
"markdown": { "lineWidth": 100, "textWrap": "always" },
"toml": {},
"yaml": {},
"exec": {
"cwd": "${configDir}",
"commands": [
{ "command": "rustup run nightly rustfmt --edition 2024", "exts": ["rs"], "stdin": true }
]
},
"excludes": ["**/*-lock.json", "**/dist", "**/coverage"],
"plugins": [
"https://plugins.dprint.dev/typescript-0.95.8.wasm",
"https://plugins.dprint.dev/json-0.20.0.wasm",
"https://plugins.dprint.dev/markdown-0.19.0.wasm",
"https://plugins.dprint.dev/toml-0.6.4.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
"https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364"
]
}