Subject: bug#77803: [PATCH v2] Don't indent variable names to their declarator expression (bug#77803)

From: Dmitry Gutov <[email-masked]>
Date: Wed, 7 May 2025 05:13:57 +0300

On 27/04/2025 10:56, Konstantin Kharlamov wrote:
> To put it a better way: to see if anyone's using such indentation for a
> project that is not theirs and have more than 2 maintainers (an
> internal dayjob project is a great candidate).

Looking around, here's an example of such code:

https://github.com/mozilla/doctorjs/blob/master/js/tiki.js#L153-L155

And later, throughout that file.

Maybe not a perfect example given that that repo had been archived a 
year ago, but it seems that as long as a project uses 2 spaces indent 
(very popular), and there are instances of variables grouped into a 
comma-separated declaration, this indentation style will be preferred.

IOW, I have seen projects split variables into multiple declarations, 
often. But to have indentation like this?

     const a = 1,
       b = 2,

Not even once.