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

Update: Correctly indent JSXText with trailing linebreaks (fixes #9878) #10055

Merged
merged 1 commit into from Mar 6, 2018

Commits on Mar 3, 2018

  1. Update: Correctly indent JSXText with trailing linebreaks (fixes #9878)

    This fixes a bug in the `indent` rule where a line comparison with the end of a token would use the end location of any trailing whitespace in the token, rather than the location of the last non-whitespace character in the token. This behavior went against user intuition for tokens with trailing whitespace.
    not-an-aardvark committed Mar 3, 2018
    Copy the full SHA
    7b86cda View commit details
    Browse the repository at this point in the history