commit | d52a372d99fdc7a4441a6b1f5e66eb8e775680bc | [log] [tgz] |
---|---|---|
author | Martin Probst <martin@probst.io> | Wed Apr 14 13:43:38 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:11:01 2021 -0700 |
tree | a80021a71790e1aa0644f6b2adce302b218ca090 | |
parent | f9291c163999790b84c6d561937b4a346617f492 [diff] |
clang-format: [JS] merge import lines. Multiple lines importing from the same URL can be merged: import {X} from 'a'; import {Y} from 'a'; Merge to: import {X, Y} from 'a'; This change implements this merge operation. It takes care not to merge in various corner case situations (default imports, star imports). Differential Revision: https://reviews.llvm.org/D100466 GitOrigin-RevId: d45df0d29f7005d3c25357f3982002eaf339f875