removing blank lines at beginnings and ends of JS blocks

Myk Melez myk at
Mon Jan 28 17:46:52 UTC 2019


This week I plan to remove blank lines at the beginnings and ends of JS 
blocks and update the global eslint configuration file to prohibit them 
by landing the patch in bug 1518283 

Note that I'm not removing all blank lines, only those at the beginnings 
and ends of blocks, which eslint calls padded-blocks 

Most JS blocks in the tree are already unpadded, and we already prohibit 
padded blocks in a number of subdirectories 

Prohibiting them tree-wide is consistent with Mark Banner's plan for 
eslint rule harmonization 

The patch may conflict with other patches-in-progress, given my 
experience maintaining a branch with the changes over the last few 
weeks. However, the conflict resolution is straightforward, since the 
only change being made is the removal of entirely blank lines. And 
annotation (blame) views of the codebase are unaffected, since removed 
lines don't show up there.

Let me know if you have any questions or concerns.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the firefox-dev mailing list