Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

ValidateParameterSeparator issue #701

@hzoo

Description

@hzoo

Should this rule apply for things like

function a(b, <mutliple spaces here> c, <mutliple spaces here> d) {

I'm using "validateParameterSeparator": ", " and it only errors for function a(b,c,d),

not when there are extra (more than one) spaces.

Maybe "requireSpaceAfterBinaryOperators": [","] will work but just wondering for this rule.

Also, should the test file be moved to under test/rules/? Right now it's under test/ but called test.validate-parameter-separator.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions