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
Make ending bracket on a new line #937
Comments
It looks like that project does not use js-beautify. Have you filed an issue in that project? |
Oh, I use a plugin for that project The README says it forwards all html-formatting to |
I think the README is out of date. |
Why do you think that? |
@bitwiseman It does look like that projects depends on |
Ah. Okay. 😄 Well, the formatting you suggest is not currently part of the beautifier. I've marked it as a future enhancement. |
Thanks! |
Oh, nevermind I just found out that eslint has a rule for exactly this: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md |
+1 for make ending bracket on a new line feature |
Is it possible to format HTML/JSX like this:
At the moment I get
I use the
esformatter-jsx
, which uses js-beautify to format JSX.Many thanks.
The text was updated successfully, but these errors were encountered: