[PATCH] D17385: clang-format: [JS] single quote double quoted strings.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 07:29:31 PST 2016

> Nice, the behavior now seems nicely isolated. Is this a purely stylistic
> kind of change or do you think every JS developer working on any kind of
> codebase will want it? Generally this feels like something we should
> carefully enable with a dedicated style option. Where can I find more
> information about it?

According to Google JavaScript style, you should always use single quotes
for string literals. Outside of that, people usually prefer one over the
other (I think), some people just use both indiscriminately. We could make
it an option, and only turn it on for a specific Google style.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160226/b59518a6/attachment-0001.html>

More information about the cfe-commits mailing list