v7.0.0-alpha.5
Pre-release
Pre-release
·
934 commits
to master
since this release
💥 Breaking Changes
- Updated presets configs.
- Changed
plugin:vue/essentialconfig andplugin:vue/vue3-essentialconfig- #1166 Added
vue/custom-event-name-casingrule
- #1166 Added
- Changed
plugin:vue/strongly-recommendedconfig andplugin:vue/vue3-strongly-recommendedconfig- Same changes as above.
- Changed
plugin:vue/recommendedconfig andplugin:vue/vue3-recommendedconfig- Same changes as above.
- Changed
✨ Enhancements
Core:
- #1167 Added
reportUnusedDisableDirectivesoption tovue/comment-directive.
New Rules:
- #1166 Added
vue/custom-event-name-casingrule that enforces using kebab-case custom event names. - #1171 Added
vue/no-useless-concatrule that appliesno-useless-concatrule to expressions in<template>. - #1173 Added
vue/dot-notationrule that appliesdot-notationrule to expressions in<template>.
Other changes in Rules:
- #1162 Added
closeBracket.startTag,closeBracket.endTagandcloseBracket.selfClosingTagoptions tovue/html-indentrule.
So that the closeBracket offset value can be set for each tag type. - #1162 Changed
vue/html-indentrule 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-varrule. - #1164 Fixed false negatives when
v-forandv-slotmixed or use destructuring forvue/no-unused-varrule. - #1169 Fixed false positives for watch with properties in
vue/no-unused-propertiesrule. - #1170 Fixed an error for
v-slotinvue/comma-stylerule.
All commits: v7.0.0-alpha.4 -> v7.0.0-alpha.5