mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
rustfmt: set group_imports to StdExternalCrate
Summary: The `group_imports = "StdExternalCrate"` config might be a bit controversial since some might prefer a single block. However, the only automated option by rustfmt is StdExternalCrate. The single block behavior isn't a choice. Forcing this makes the codebase a bit more consistent. Reviewed By: yancouto Differential Revision: D31746732 fbshipit-source-id: b3fc3a7ee20302ece585c8ac3c4f189b25bc1425
This commit is contained in:
parent
f3ae5e8045
commit
bafd80784e
@ -10,3 +10,6 @@ use_field_init_shorthand = true
|
||||
|
||||
# To minimize conflicts, and make things easier to grep.
|
||||
imports_granularity = "Item"
|
||||
|
||||
# To force an automatic order of use statements.
|
||||
group_imports = "StdExternalCrate"
|
||||
|
Loading…
Reference in New Issue
Block a user