Skip to content

Add "line-aligned" to react/jsx-closing-tag-location #3740

Closed
@Cooya

Description

@Cooya

It would be quite nice to have the option "line-aligned" in the rule react/jsx-closing-tag-location, same as in the rule https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md.

With this option, the following code would be accepted :

const test = <div>
	Hello World
</div>;

And this one would be denied :

const test = <div>
	Hello World</div>;

Metadata

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