You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/fmt/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ The formatter supports multiple configuration options defined in `foundry.toml`.
116
116
|`bracket_spacing`|`false`| Print spaces between brackets. |
117
117
|`int_types`|`long`| Style for `uint256`/`int256` types. Options: `long`, `short`, `preserve`. |
118
118
|`multiline_func_header`|`attributes_first`| The style of multiline function headers. Options: `attributes_first`, `params_always`, `params_first_multi`, `all`, `all_params`. |
119
+
|`prefer_compact`|`calls`| Style that determines if a broken list, should keep its elements together on their own line, before breaking individually. Options: `calls`, `events`, `errors`, `events_errors`, `all`. |
119
120
|`quote_style`|`double`| The style of quotation marks. Options: `double`, `single`, `preserve`. |
120
121
|`number_underscore`|`preserve`| The style of underscores in number literals. Options: `preserve`, `remove`, `thousands`. |
121
122
|`hex_underscore`|`remove`| The style of underscores in hex literals. Options: `preserve`, `remove`, `bytes`. |
0 commit comments