-
Notifications
You must be signed in to change notification settings - Fork 2
/
dprint.json
62 lines (62 loc) · 1.33 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
{
"incremental": true,
"indentWidth": 2,
"useTabs": true,
"exec": {
"commands": [
{
"command": "rustfmt --unstable-features --edition 2021",
"exts": ["rs"]
},
{
"command": "nixfmt",
"exts": ["nix"]
},
{
"command": "shfmt --filename {{file_path}} -i 0",
"exts": ["sh", "bash"]
}
]
},
"typescript": {
"deno": true,
"useTabs": true,
"module.sortExportDeclarations": "caseInsensitive",
"module.sortImportDeclarations": "caseInsensitive"
},
"json": {
"deno": true,
"useTabs": true
},
"toml": {
"useTabs": true,
"indentWidth": 2,
"cargo.applyConventions": true
},
"markdown": {
"deno": true,
"textWrap": "never"
},
"includes": [
"**/*.{ts,tsx,js,jsx,cjs,mjs,json,jsonc,md,toml,dockerfile,rs,yml,yaml,sh,bash}"
],
"excludes": [
"**/dist",
".devenv/**",
"**/fixtures",
"**/snapshots",
"**/target",
"**/node_modules,",
"**/changelog.md",
"**/dist/**",
"**/pkg/"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.91.8.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0",
"https://plugins.dprint.dev/toml-0.6.2.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
]
}