moa/.rustfmt.toml
transistor fet 7dac32d844
Added github actions for PRs (#3)
* Added github actions for PRs

* Added some rustfmt::skip attributes

* Applied formatting

* Added rustfmt component in action

* Configured to use rustfmt version 2 which fixes some comment formatting

* Removed ready_for_review condition for github actions

Since it has the synchronize condition, it will update after each
commit, whether in draft or not, so I think this should be alright
2024-03-17 11:03:52 -07:00

25 lines
751 B
TOML

edition = "2021"
version = "Two"
max_width = 132
struct_lit_width = 0 # default 18 (24)
fn_call_width=100 # default 60 (80)
array_width=132 # default 60 (80)
#chain_width=100 # default 60 (80)
#attr_fn_like_width=100 # default 70 (92)
#single_line_if_else_max_width=100 # default 50 (66)
#struct_variant_width = 0 # default 35 (46)
newline_style = "Unix"
reorder_imports = false
match_block_trailing_comma = true
## Experimental Features
unstable_features = true
blank_lines_upper_bound = 3
overflow_delimited_expr = true
# it would be nice to allow a newline at the top and bottom of file
# it would be nice to not erase the whitespace between the end of the code line and start of a comment on the same line