Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

space-in-parens exception allows for no space before closing paren #34

Open
@paulschreiber

Description

The current space-in-parens rule is:

'space-in-parens': ['error', 'always', {exceptions: ['{}', '[]']}],

gives you code like

if ( ! m[12]) {

instead of the expected

if ( ! m[12] ) {

I'm not sure if this is an eslint bug, or a ruleset bug. What do you think?

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