Skip to content

Don't require spaces inside expression parentheses #134

Open
@gibson042

Description

@gibson042

Excluding spaces from inside expression parentheses, especially in loop-statement assignments, has historically been common in jQuery—and used intentionally to visually distinguish expression parentheses from statement parentheses—but was prohibited by jscs-dev/node-jscs@0f78baf in response to #104 (which was removing our complicated function-call exceptions).

Since that time, JSCS has added an ignoreParenthesizedExpression option to requireSpacesInsideParentheses. We should adopt it and update the style guide accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions