Skip to content

Rule proposal: v-if-else-key #255

Closed
@michalsnik

Description

@michalsnik

Style guide:
https://vuejs.org/v2/style-guide/#v-if-v-if-else-v-else-without-key-use-with-caution

Description:
This rule would enforce to add key property on elements with v-if and v-else directives if they're both of the same type.

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