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:
The rule should enforce that only one object is used in an array of classes
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
<template> <div :class="[{ a: true }, { b: true }, 'c']" /> </template>
Can be fixed to:
<template> <div :class="[{ a: true, b: true }, 'c']" /> </template>
Can open a PR if proposal is approved.
The text was updated successfully, but these errors were encountered:
Thank you for proposing the rule.
I like that rule you proposed.
Sorry, something went wrong.
vue/no-multiple-objects-in-class
Successfully merging a pull request may close this issue.
Please describe what the rule should do:
The rule should enforce that only one object is used in an array of classes
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
Can be fixed to:
Can open a PR if proposal is approved.
The text was updated successfully, but these errors were encountered: