-
Notifications
You must be signed in to change notification settings - Fork 5
/
.dprint.jsonc
72 lines (72 loc) · 1.8 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
{
"$schema": "https://plugins.dprint.dev/dprint/dprint-plugin-json/latest/schema.json",
"excludes": [
"**/node_modules/*",
"**/.dprint/*",
"**/.git/*",
"**/.sccache/*",
"**/target/*",
"**/dist*/*"
],
"includes": [
"**/*.{css,html}",
"**/*.{json,jsonc}",
"**/*.{md}",
"**/*.{rs}",
"**/*.{toml}",
"**/*.{ts,tsx}",
"**/*.{yml,yaml}"
],
"lineWidth": 96,
"indentWidth": 4,
"plugins": [
"https://plugins.dprint.dev/biome-0.6.0.wasm",
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0",
"https://plugins.dprint.dev/prettier-0.46.1.json@e5bd083088a8dfc6e5ce2d3c9bee81489b065bd5345ef55b59f5d96627928b7a",
"https://plugins.dprint.dev/toml-0.6.2.wasm"
],
"exec": {
"commands": [
{
"command": "rustfmt --files-with-diff --config-path .rustfmt.toml",
"exts": ["rs"]
}
]
},
"biome": {
"associations": ["**/*.{json,jsonc}", "**/*.{ts,tsx}"],
"indentStyle": "space",
"indentSize": 4,
"lineEnding": "lf",
"lineWidth": 96,
"trailingComma": "none",
"json.indentSize": 2,
"json.indentStyle": "space",
"json.lineWidth": 96
},
"prettier": {
"associations": ["**/*.{css,html}", "**/*.md", "**/*.{yaml,yml}"],
"eol": "lf",
"printWidth": 96,
"useTabs": false,
"tabWidth": 4,
"proseWrap": "preserve",
"singleQuote": false,
"trailingComma": "none",
"plugin.jsDoc": true,
"css.tabWidth": 4,
"html.tabWidth": 4,
"md.tabWidth": 2,
"yaml.tabWidth": 2,
"yml.tabWidth": 2
},
"toml": {
"associations": ["**/*.toml"],
"lineWidth": 96,
"useTabs": false,
"indentWidth": 4,
"newLineKind": "lf",
"comment.forceLeadingSpace": false,
"cargo.applyConventions": true
}
}