forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdprint.json
More file actions
62 lines (62 loc) · 1.56 KB
/
dprint.json
File metadata and controls
62 lines (62 loc) · 1.56 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
{
"$schema": "https://raw.githubusercontent.com/dprint/dprint/refs/heads/main/website/src/assets/schemas/v0.json",
"incremental": true,
"indentWidth": 2,
"useTabs": false,
"includes": [
"*.md",
"*.{toml}",
"Dockerfile",
"*.{yml,yaml}",
"*.{json,jsonc}",
"*.{js,cjs,mjs,d.ts,d.cts,d.mts,ts,tsx,jsx}"
],
"excludes": [
"**/build",
"**/abi/**",
"**/target",
"**/test/**",
"**/*.min.*",
"**/dist/**",
"testdata/**",
"**/tests/**",
"changelog.json",
"**/test-data/**",
"**/node_modules",
"**/cheatcodes/**",
".github/scripts/**",
".github/ISSUE_TEMPLATE/**"
],
"plugins": [
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/json-0.20.0.wasm",
"https://plugins.dprint.dev/markdown-0.18.0.wasm",
"https://plugins.dprint.dev/dockerfile-0.3.3.wasm",
"https://plugins.dprint.dev/typescript-0.95.7.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm"
],
"markdown": {
"lineWidth": 100,
"textWrap": "maintain"
},
"toml": {
"columnWidth": 100
},
"json": {
"useTabs": false,
"indentWidth": 2,
"trailingCommas": "never",
"array.preferSingleLine": true
},
"typescript": {
"useTabs": false,
"semiColons": "asi",
"quoteProps": "asNeeded",
"useBraces": "preferNone",
"trailingCommas": "never",
"quoteStyle": "alwaysSingle",
"arrowFunction.useParentheses": "preferNone",
"exportDeclaration.sortTypeOnlyExports": "none",
"importDeclaration.sortTypeOnlyImports": "none"
}
}