mirror of
https://github.com/transistorfet/moa.git
synced 2024-11-12 05:06:08 +00:00
7dac32d844
* 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
25 lines
751 B
TOML
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
|