💥 Breaking Changes
- Updated presets configs.
- Changed
plugin:vue/vue3-essential
config- #1239 Added
vue/no-dupe-v-else-if
rule.
- #1239 Added
- Changed
plugin:vue/vue3-strongly-recommended
config- Same changes as above.
- Changed
plugin:vue/vue3-recommended
config- Same changes as above.
- #1238 Added
vue/no-lone-template
rule.
- Changed
plugin:vue/essential
config- #1239 Added
vue/no-dupe-v-else-if
rule.
- #1239 Added
- Changed
plugin:vue/strongly-recommended
config- Same changes as above.
- Changed
plugin:vue/recommended
config- Same changes as above.
- #1238 Added
vue/no-lone-template
rule.
- #1237 Removed
jsx:true
from shareable configs.
- Changed
✨ Enhancements
New Rules:
- #1238 Added
vue/no-lone-template
rule that disallow unnecessary<template>
element. - #1239 Added
vue/no-dupe-v-else-if
rule that disallow duplicate conditions inv-if
/v-else-if
chains. - #1243 Added
vue/no-sparse-arrays
rule that appliesno-sparse-arrays
rule to expressions in<template>
.
Other changes in Rules:
- #1225 Changed
vue/no-ref-as-operand
to also checkref
of@vue/composition-api
.
🐛 Bug Fixes
- #1242 Fixed
vue/no-unused-properties
,vue/require-valid-default-prop
,vue/require-default-prop
andvue/no-multiple-objects-in-class
rules crash on sparse arrays.
⚙️ Updates
- #1237 Removed
jsx:true
from shareable configs.
All commits: v7.0.0-alpha.9 -> v7.0.0-alpha.10