Skip to content

Change ending braces styles for JSX #17

@DmitryKorlas

Description

@DmitryKorlas

To improving a git-history, we approve a guide changes regarding to ending braces style on multi-line JSX tags. Ending braces should always require a new line.

Scope:

  1. adjust guide examples and move from this approach:
<MyAwesomeComponent
    baz
    foo={bar}>
    <ListOfThings />
</MyAwesomeComponent>

to this one:

<MyAwesomeComponent
    baz
    foo={bar}
>
    <ListOfThings />
</MyAwesomeComponent>    
  1. adjust corresponded eslint rule

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