Skip to content

Commit 3b432ae

Browse files
authored
explicit formatter config (#34)
1 parent 6cff375 commit 3b432ae

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

foundry.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,19 @@ cache_path = 'cache_forge'
77
solc_version = '0.8.20'
88
optimizer_runs = 2000
99
script = 'scripts'
10+
11+
[fmt]
12+
line_length = 120
13+
tab_width = 4
14+
bracket_spacing = false
15+
int_types = "long"
16+
multiline_func_header = "attributes_first"
17+
quote_style = "double"
18+
number_underscore = "preserve"
19+
hex_underscore = "remove"
20+
single_line_statement_blocks = "preserve"
21+
override_spacing = false
22+
wrap_comments = false
23+
ignore = []
24+
contract_new_lines = false
25+
sort_imports = false

0 commit comments

Comments
 (0)