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
60 lines (60 loc) · 1.57 KB
/
dprint.json
File metadata and controls
60 lines (60 loc) · 1.57 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
{
"$schema": "https://raw.githubusercontent.com/dprint/dprint/refs/heads/main/website/src/assets/schemas/v0.json",
"indentWidth": 2,
"useTabs": false,
"excludes": [
"!dprint.json",
"!npm/**/*.{json,md,toml}",
"!npm/**/*.{js,cjs,mjs,d.ts,d.cts,d.mts,ts,tsx,jsx}",
"**/_",
"**/abi",
"**/build",
"**/target",
"**/test/**",
"**/*.min.*",
"**/dist/**",
"testdata/**",
"**/tests/**",
"node_modules",
"changelog.json",
"**/test-data/**",
"**/cheatcodes/**",
"**/node_modules/**",
".github/scripts/**",
".github/ISSUE_TEMPLATE/**"
],
"plugins": [
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/json-0.21.0.wasm",
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
"https://plugins.dprint.dev/dockerfile-0.3.3.wasm",
"https://plugins.dprint.dev/typescript-0.95.11.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm"
],
"markdown": {
"lineWidth": 100,
"textWrap": "maintain"
},
"toml": {
"lineWidth": 100
},
"json": {
"lineWidth": 1,
"indentWidth": 2,
"useTabs": false,
"trailingCommas": "never",
"preferSingleLine": false,
"array.preferSingleLine": false
},
"typescript": {
"useTabs": false,
"semiColons": "asi",
"quoteProps": "asNeeded",
"useBraces": "preferNone",
"trailingCommas": "never",
"quoteStyle": "alwaysSingle",
"arrowFunction.useParentheses": "preferNone",
"exportDeclaration.sortTypeOnlyExports": "none",
"importDeclaration.sortTypeOnlyImports": "none"
}
}