Skip to content

[FR] inheritAttrs: false when using v-bind="$attrs" #626

Closed
@privatenumber

Description

@privatenumber

Components that inherit $attrs into a nested element in the component typically wouldn't want to get duplicated attributes applied to the top-level element. Might be a good linting rule to warn to apply inheritAttrs: false when it detects v-bind="$attrs" being used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions