-
-
Notifications
You must be signed in to change notification settings - Fork 681
Rule proposal: html-tag-spacing
#229
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
Comments
I think that
Those are the reason that I wrote |
Okay, so your proposition was to add
I think we could simplify this and keep two settings only.
|
I'm OK with the simple version. |
As pointed in #199
html-self-closing
rule fix end tags, but doesn't care about proper spacing before end tags. It is an intended behaviour as one rule should do just one thing.However currently we don't have a rule that would make it possible to check and fix wrong spacing in HTML tags.
I propose to add a similar rule to: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md
Possible settings:
Incorrect
Correct
The text was updated successfully, but these errors were encountered: