Require space after closing parenthesis `)` #191

Closed
shobhitg opened this Issue Jan 17, 2014 · 2 comments

Projects

None yet

3 participants

@shobhitg

Invalid:

if (x)x++;

valid:

if (x) x++;

I can't think of any reason why we must not require a space after ) unless the next character is a ;

@markelog
jscs-dev member

@shobhitg parenthesis also could be used for grouping, which is hard to deduce, also in some cases comma could be valid, there is probably more details, are you up for it?

@mikesherov

Closing this due to inactivity. I'll reopen if the OP responds or someone else finds value in this.

@mikesherov mikesherov closed this Nov 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment