-
-
Notifications
You must be signed in to change notification settings - Fork 681
New rule: no-empty-component-block #952
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
Do you know if this has any performance impact? |
No, I don't 🙈 |
@ota-meshi |
Hi @tyankatsu0105 Probably with some attributes it should be ignored. e.g. |
Why this rule can't get auto fix? Any unsafe situation? @ota-meshi @tyankatsu0105 |
Please open a new issue to discuss that. |
Please describe what the rule should do:
The rule should avoid empty
<style scoped></style>
, script or template tags. If there are no style rules, a style tag is not necessary.Edge case: Tags that have a src attribute (should be valid).
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
The text was updated successfully, but these errors were encountered: