Skip to content

jsx-tag-spacing doesn't allow for forbid a space before ">" in a start tag #1396

Closed
@mmsbrggr

Description

In our project we have the need for forbidding spaces before the ">" symbol in a start tag. For example the following should not be allowed:

<RectangleSelection
    minWidth={150}
    minHeight={50} >
    {children}
</RectangleSelection>

In comparison the following should not result in an error:

<RectangleSelection
    minWidth={150}
    minHeight={50}>
    {children}
</RectangleSelection>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions