💥 Breaking Changes
- Updated presets configs.
- Changed
plugin:vue/essential
config andplugin:vue/vue3-essential
config- #1166 Added
vue/custom-event-name-casing
rule
- #1166 Added
- Changed
plugin:vue/strongly-recommended
config andplugin:vue/vue3-strongly-recommended
config- Same changes as above.
- Changed
plugin:vue/recommended
config andplugin:vue/vue3-recommended
config- Same changes as above.
- Changed
✨ Enhancements
Core:
- #1167 Added
reportUnusedDisableDirectives
option tovue/comment-directive
.
New Rules:
- #1166 Added
vue/custom-event-name-casing
rule that enforces using kebab-case custom event names. - #1171 Added
vue/no-useless-concat
rule that appliesno-useless-concat
rule to expressions in<template>
. - #1173 Added
vue/dot-notation
rule that appliesdot-notation
rule to expressions in<template>
.
Other changes in Rules:
- #1162 Added
closeBracket.startTag
,closeBracket.endTag
andcloseBracket.selfClosingTag
options tovue/html-indent
rule.
So that the closeBracket offset value can be set for each tag type. - #1162 Changed
vue/html-indent
rule to calculate the base point of the indent offset of the closing bracket of the end tag by the start tag.
🐛 Bug Fixes
- #1163 Fixed false negatives when using ignorePattern for
vue/no-unused-var
rule. - #1164 Fixed false negatives when
v-for
andv-slot
mixed or use destructuring forvue/no-unused-var
rule. - #1169 Fixed false positives for watch with properties in
vue/no-unused-properties
rule. - #1170 Fixed an error for
v-slot
invue/comma-style
rule.
All commits: v7.0.0-alpha.4 -> v7.0.0-alpha.5