We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please describe what the rule should do:
This rule requires prop and event properties in model property.
prop
event
model
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
<script> export default { model: { prop: 'someValue', // Needs 'event' property. }, }; </script>
<script> export default { model: { props: 'someValue', // Needs 'prop' property. event: 'some-event', }, }; </script>
Additional context
value
input
The text was updated successfully, but these errors were encountered:
vue/no-invalid-model-keys
No branches or pull requests
Please describe what the rule should do:
This rule requires
prop
andevent
properties inmodel
property.What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
Additional context
value
as the prop andinput
as the event. But both settings should be required when usemodel
property.The text was updated successfully, but these errors were encountered: