2018-01-15 10:34:59 +03:00
|
|
|
# Run `rustfmt --config-help` to see available config options.
|
|
|
|
# Please keep these in alphabetical order.
|
|
|
|
condense_wildcard_suffixes = true
|
|
|
|
error_on_line_overflow = false
|
2018-02-21 09:08:19 +03:00
|
|
|
error_on_unformatted = false
|
2018-01-15 10:34:59 +03:00
|
|
|
# Too many derives can cause line length limits to be exceeded. rustfmt-nightly
|
|
|
|
# 0.2.5 doesn't appear to pay attention to this.
|
|
|
|
merge_derives = false
|
|
|
|
reorder_imported_names = true
|
|
|
|
reorder_imports = true
|
|
|
|
reorder_imports_in_group = true
|
2018-02-21 09:08:19 +03:00
|
|
|
struct_lit_single_line = true
|
2018-01-15 10:34:59 +03:00
|
|
|
# Override the Nuclide/Atom default tab spacing.
|
|
|
|
tab_spaces = 4
|
2018-02-21 09:08:19 +03:00
|
|
|
use_field_init_shorthand = true
|
2018-01-15 10:34:59 +03:00
|
|
|
use_try_shorthand = true
|
2018-02-21 09:08:19 +03:00
|
|
|
wrap_comments = true
|
2018-01-28 01:20:15 +03:00
|
|
|
write_mode = "overwrite"
|