You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for posting the issue.
I think that feature addition is good, but I think it should be an option. Because <script setup> infers the name option.
TIP
Since version 3.2.34, a single-file component using <script setup> will automatically infer its name option based on the filename, removing the need to manually declare the name even when used with <KeepAlive>.
What rule do you want to change?
This doesn't support defineOptions ATM. If we leave defineOptions with empty object
Does this change cause the rule to produce more or fewer warnings?
N/A
How will the change be implemented? (New option, new default behavior, etc.)?
It should be default behavior
Please provide some example code that this change will affect:
What does the rule currently do for this code?
No error
What will the rule do after it's changed?
Should throw error like we do in options API
Additional context
N/A
The text was updated successfully, but these errors were encountered: