AppFlowy/rust-lib/rustfmt.toml

19 lines
488 B
TOML
Raw Normal View History

2021-06-24 08:32:36 +00:00
# https://rust-lang.github.io/rustfmt/?version=master&search=
2021-09-01 14:50:22 +00:00
max_width = 140
2021-06-24 08:32:36 +00:00
tab_spaces = 4
fn_single_line = true
match_block_trailing_comma = true
normalize_comments = true
wrap_comments = true
use_field_init_shorthand = true
use_try_shorthand = true
normalize_doc_attributes = true
report_todo = "Always"
report_fixme = "Always"
imports_layout = "HorizontalVertical"
2021-06-27 07:11:41 +00:00
merge_imports = true
reorder_modules = true
reorder_imports = true
2021-06-24 08:32:36 +00:00
enum_discrim_align_threshold = 20
edition = "2018"