AppFlowy/frontend/rust-lib/rustfmt.toml

12 lines
318 B
TOML
Raw Permalink Normal View History

2021-06-24 08:32:36 +00:00
# https://rust-lang.github.io/rustfmt/?version=master&search=
max_width = 100
tab_spaces = 2
newline_style = "Auto"
match_block_trailing_comma = true
use_field_init_shorthand = true
use_try_shorthand = true
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
merge_derives = true
edition = "2021"