Skip to content

Change ending braces styles for JSX #17

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

Activity

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

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