no-duplicate-attr-inheritance
: should ignore components with multiple root nodes?
#2596
Open
2 tasks done
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
If a component has multiple root nodes, Vue encourages the presence of
v-bind="$attrs"
because essentiallyinheritAttrs
is implicitly set tofalse
. I suggest that this rule ignores such components as settinginheritAttrs: false
manually becomes redundant. Or perhaps have an option to ignore or not ignore for the sake of explicitness?Example of SFCs that shouldn't be reported:
Test on the rule page
What did you expect to happen?
What actually happened?
Repository to reproduce this issue
The text was updated successfully, but these errors were encountered: