-
-
Notifications
You must be signed in to change notification settings - Fork 681
defineSlots 如果没写 () 不报错 #2295
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
Please write your issues in English, it's difficult to understand this suggestion. If I understood correctly, you are suggesting a new rule that warns about @ota-meshi Do you think this rule is a good idea? Shouldn't the Vue compiler warn about this already? |
Maybe it's also implicitly implemented by #2294, since |
是的!您理解的是对的!(Yes! What you understand is correct!) |
I don't understand what you are requesting in this issue. So I'll close this issue. |
Please describe what the rule should do:
defineSlots
语法错误What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
Additional context
正确写法:
错误写法:
The text was updated successfully, but these errors were encountered: