sapling/rustfmt.toml
Siddharth Agarwal e5315a765b config for rustfmt-nightly 0.2.6
Summary:
Without this, any lines that are too long would cause `rustfmt` to
error out. That seems not very useful.

Reviewed By: kulshrax

Differential Revision: D5853676

fbshipit-source-id: b7335a14079ebf6245da0c028039d88745b32785
2017-09-18 10:50:27 -07:00

17 lines
594 B
TOML

# Run `rustfmt --config-help` to see available config options.
# Please keep these in alphabetical order.
closure_block_indent_threshold = 1
condense_wildcard_suffixes = true
error_on_line_overflow = false
error_on_line_overflow_comments = false
# 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
# Override the Nuclide/Atom default tab spacing.
tab_spaces = 4
use_try_shorthand = true
write_mode = "replace"