Proposal: Require dangling commas for multiline objects/arrays on all Javascript mozilla-central code

Gijs Kruitbosch gijskruitbosch at gmail.com
Wed Aug 22 21:56:51 UTC 2018


On 22/08/2018 21:29, Mark Banner wrote:
> I would like to propose that we require dangling commas for multi-line 
> object/arrays in Javascript code for mozilla-central.

Strong +1 from me as well.

> I would propose that we roll it out on 
> a per-directory basis. For example, we could do all of browser/ at the 
> start of the 64 cycle just after the merges (alternately the end of the 
> 63 cycle during soft freeze),

Out of these I'd prefer end-of-soft-freeze to make uplifts easier 
(because fewer conflicts).

Thanks for doing this!

Gijs


More information about the firefox-dev mailing list