softlayer/ember-style-guide

Why are inner grouped statements allowed to be collapsed?

Closed this issue · 0 comments

The following example is given explicitly in javascript.md:

// Inner grouping parens, no space
if ( !('foo' in obj) ) {
    ...
}

What is the advantage this exception grants us over our spacing in parentheses rule? To me, it would seem to be more advantageous to be consistent with the spacing rules.