Update: Correctly indent JSXText with trailing linebreaks (fixes #9878) #10055
What is the purpose of this pull request? (put an "X" next to item)
[x] Bug fix (#9878)
What changes did you make? (Give an overview)
This fixes a bug in the
Is there anything you'd like reviewers to focus on?
Nothing in particular
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.