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]self-closing-comp: stop reporting single-line spaces #2210

Merged
merged 1 commit into from Apr 12, 2019

Commits on Mar 21, 2019

  1. [Fix]self-closing-comp: stop reporting single-line spaces

    Closes jsx-eslint#1717
    
    React does not trim JSXText if it is single-line spaces.
    In case like `<span>    </span>`, the spaces are left as is.
    golopot authored and ljharb committed Mar 21, 2019
    Copy the full SHA
    f6becb1 View commit details
    Browse the repository at this point in the history