-
-
Notifications
You must be signed in to change notification settings - Fork 681
Rule Proposal: vue/no-extra-whitespaces
#133
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
@riophae everything is possible i like this rule (i will implement it today) but i don't think that catching extra spaces in attribute value should be handled (at-least not by default) as rule name i propose |
I think it should be no problem as far as we can make sure the attribute value is an expression rather than plain string, such as vue-related attributes. |
Thank you for this issue. Sounds good to me. |
@mysticatea i like |
Please describe what the rule should do:
This rule warns about the usage of useless spaces.
What category of rule is this? (place an "X" next to just one item)
[x]
Enforces code style[ ]
Warns about a potential error[ ]
Suggests an alternate way of doing something[ ]
Other (please specify:)Provide 2-3 code examples that this rule will warn about:
However, the following should be considered fine:
The suggested rule name is likely not good enough.
The text was updated successfully, but these errors were encountered: