Skip to content

Conversation

ota-meshi
Copy link
Member

This PR separates the rule reporting keys placed on <template v-for> from vue/no-template-key rule.
This PR makes the following changes.

  • Change vue/no-template-key to allow v-for key.
  • Add vue/no-v-for-template-key rule that disallow the key placed on the <template v-for>.
  • Add vue/no-v-for-template-key rule to plugin:vue/essential config.

refs #1279

@ota-meshi ota-meshi self-assigned this Aug 27, 2020
@ota-meshi ota-meshi merged commit 1c52bb9 into master Aug 28, 2020
@ota-meshi ota-meshi deleted the fix-no-template-key branch August 28, 2020 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant