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
Please describe what the rule should do:
At the moment this rule applies the casing rule globally for the entire component. But the usual way of writing components in a *.vue file is to use kebab-case in the template but PascalCase in the script part.
In short, I'd like for this rule to either be split into two or to take two parameters instead of one (one for the template and the other for the script).
What category should the rule belong to?
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 should warn about:
If we set the rule so that the template should use kebab-case and the script part PascalCase this would generate an error:
Please describe what the rule should do:
At the moment this rule applies the casing rule globally for the entire component. But the usual way of writing components in a *.vue file is to use kebab-case in the template but PascalCase in the script part.
In short, I'd like for this rule to either be split into two or to take two parameters instead of one (one for the template and the other for the script).
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
If we set the rule so that the template should use kebab-case and the script part PascalCase this would generate an error:
This would be correct:
The text was updated successfully, but these errors were encountered: