-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
dev: linting newline after HTML elements #9392
Comments
I tested this and it rendered correctly for me. If you have a specific example that doesn't work let me know and I can take another look. |
Still happens for me with the following snippet from the FAQ:
I’m not sure to see if I’m using an old version of the NPM formatter? |
Or did you mean it renders the HTML ok without the new line? |
Can you attach of screenshot of the before/after with the difference highlighted because I am not sure what I am looking for. |
Looks like it works now #12547 , ty |
@mmomjian why did you open this again? |
We first thought it was fixed but then another PR failed with the same linting issue. It passes linting but it doesn’t actually render properly in the docs. |
The bug
When running
npm run format:fix
, the following error is not caught.Should be:
Without a new line after the HTML blocks, the code block is not be rendered properly. Can we add a linting check to make sure that there is a new line after each HTML element?
The text was updated successfully, but these errors were encountered: