-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdprint.json
More file actions
77 lines (77 loc) · 1.89 KB
/
dprint.json
File metadata and controls
77 lines (77 loc) · 1.89 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
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
{
"$schema": "https://dprint.dev/schemas/v0.json",
"incremental": true,
"json": {
"indentWidth": 2,
"useTabs": false
},
"markdown": {},
"toml": {},
"yaml": {
"indentWidth": 2
},
"exec": {
"commands": [
{
"command": "nixfmt",
"exts": ["nix"]
},
{
"command": "shfmt --filename {{file_path}} -i 0",
"exts": ["sh", "bash"]
},
{
"command": "./tools/dartfmt.sh {{file_path}}",
"exts": ["dart"],
"stdin": false
},
{
"command": "./tools/ktlint.sh {{file_path}}",
"exts": ["kt", "kts"],
"stdin": false
},
{
"command": "./tools/swift-format.sh",
"exts": ["swift"]
}
]
},
"excludes": [
"**/.dart_tool/**",
"**/build/**",
"**/.devenv*/**",
"**/.direnv/**",
"**/node_modules/**",
"infra/dist/**",
"**/*.g.dart",
"**/*.freezed.dart",
"**/generated_protocol/**",
"**/generated/**",
"**/ios/**/*.pbxproj",
"**/ios/**/*.plist",
"**/ios/**/*.storyboard",
"**/ios/**/*.xib",
"**/ios/**/*.xcscheme",
"**/ios/**/*.xcworkspacedata",
"**/android/.gradle/**",
"**/android/captures/**",
"**/android/**/*.xml",
"**/android/**/*.properties",
"**/android/**/GeneratedPluginRegistrant.java",
"**/.ktlint-tmp-*",
"**/Pods/",
"**/test_tools/serverpod_test_tools.dart",
"pubspec.lock",
"**/pubspec.lock",
"**/pnpm-lock.yaml"
],
"typescript": {},
"plugins": [
"https://plugins.dprint.dev/typescript-0.95.15.wasm",
"https://plugins.dprint.dev/json-0.21.1.wasm",
"https://plugins.dprint.dev/markdown-0.21.1.wasm",
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.6.0.wasm"
]
}