This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] Sort all JavaScript imports if any changed.
ClosedPublic

Authored by mprobst on Aug 28 2016, 6:14 AM.

Details

Summary

User feedback is that they expect *all* imports to be sorted if any import was
affected by a change, not just imports up to the first non-affected line, as
clang-format currently does.

Diff Detail

Repository
rL LLVM

Event Timeline

mprobst updated this revision to Diff 69511.Aug 28 2016, 6:14 AM
mprobst retitled this revision from to clang-format: [JS] Sort all JavaScript imports if any changed..
mprobst updated this object.
mprobst added a reviewer: djasper.
mprobst added a subscriber: cfe-commits.

Friendly ping.

djasper accepted this revision.Sep 2 2016, 6:44 AM
djasper edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Sep 2 2016, 6:44 AM
This revision was automatically updated to reflect the committed changes.