mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
a05c88a442
Summary: These prevent most errors while running the new rustfmt against Mononoke. Reviewed By: jsgf Differential Revision: D5760091 fbshipit-source-id: 42d73fd282bf3c9cf56db1138e4f63c4c4416c41
16 lines
563 B
TOML
16 lines
563 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_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"
|