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 write rule name what you want to improve:require-g-image-src
How are the rules improved?
Vue accepts passing an object directly to v-bind. It would be cool to support it besides passing props directly.
Provide 2-3 code examples that this rule should warn about:
// This should be accepted
<g-imagev-bind="{ src:'' }" />
// This should be accepted or give a warning
<g-imagev-bind="computed" />
<g-imagev-bind="method(something)" />
// This should give an error
<g-imagev-bind="{}" />
Additional context
I'm not sure if you could check the returned object from computed properties and methods. If that's possible that should be accepted as mentioned on comment.
The text was updated successfully, but these errors were encountered:
Please write rule name what you want to improve:
require-g-image-src
How are the rules improved?
Vue accepts passing an object directly to
v-bind
. It would be cool to support it besides passing props directly.Provide 2-3 code examples that this rule should warn about:
Additional context
I'm not sure if you could check the returned object from computed properties and methods. If that's possible that should be accepted as mentioned on comment.
The text was updated successfully, but these errors were encountered: