Skip to content

standard/array-bracket-even-spacing breaks in destructuring with flowtype #23

@qm3ster

Description

@qm3ster

([x, y]: C) => x + y gives Expected consistent spacing (standard/array-bracket-even-spacing)
([x, y]) => x + y and (c: C) => x + y are fine.
Should I file the issue here or at gajus/eslint-plugin-flowtype?
--fix doesn't get it there, but it is actually satisfied with the weird ([ x, y]: C) => x + y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions