[clang] [clang-format] Stop breaking unbreakable strings in JS (PR #66168)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 12:37:23 PDT 2023


sstwcw wrote:

> I wonder, if splitting the literal with + is a good option at all.

Maybe that means we should make the `BreakStringLiterals` option default to off for JavaScript.  But I want about 2 weeks to decide.

Can you set the option in your configuration as a workaround for now?  If so, please don't approve #66372.  Note that you can set a different style configuration for each language.

https://github.com/llvm/llvm-project/pull/66168


More information about the cfe-commits mailing list