-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[JSX support] First line of nested JSX has improper indenting applied. #667
Labels
Comments
Closed
godd9170
changed the title
First line of nested JSX has improper indenting applied.
[JSX support] First line of nested JSX has improper indenting applied.
Apr 9, 2015
Yeah this is due to #665. What is your indent setting? 8 spaces? Tab? |
Yeah, the setting you mention should have no effect on JSX. That's html specific. |
Another example: Input:
Output by default:
Output with indent set to 2 spaces:
Works fine after adjusting that, would be cool if it could auto-detect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be related to #665, a bit different though.
In the following example
<div className='project-tiles-project-body'>
gets nicely indented, however it's child elements and closing tag do not.Becomes
The text was updated successfully, but these errors were encountered: