HomePhabricator

clang-format: [JS] don't sort named imports if off.

Authored by mprobst on Jun 11 2021, 2:43 AM.

Description

clang-format: [JS] don't sort named imports if off.

The previous implementation would accidentally still sort the individual
named imports, even if the module reference was in a clang-format off
block.

Differential Revision: https://reviews.llvm.org/D104101