Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] jsx-curly-brace-presence: allow trailing spaces in literal #2448

Merged

Commits on Oct 5, 2019

  1. [fix] jsx-curly-brace-presence: allow trailing spaces in literal

    `jsx-curly-brace-presence` with `never` reports invalid errors in following cases
    
    ```
    <Foo>{' space before or after '}</Foo>
    ```
    
    ```
    <Foo>
      {'space after '}
      <a>link</a>
      {' space before'}
    </Foo>
    ```
    doochik authored and ljharb committed Oct 5, 2019
    Copy the full SHA
    1436799 View commit details
    Browse the repository at this point in the history