v9.19.0
✨ Enhancements
New Rules
- #2312 Added
vue/no-unused-emit-declarations
rule that disallows unused emit declarations. - #2280 Added
vue/v-if-else-key
rule that requires key attribute for conditionally rendered repeated components.
New Options
- #2315 Added
type-literal
option invue/define-emits-declaration
rule. - #2297 Added
externalIgnores
option invue/singleline-html-element-content-newline
rule. - #2314 Added
ignore
option invue/no-deprecated-slot-attribute
rule.
⚙️ Changes
- #2320 Changed
vue/v-on-event-hyphenation
rule to be auto-fixable by default in Vue 3. - #2330 Changed stylistic rules for expressions in
<template>
to extend from ESLint Stylistic.
⚙️ Updates
- #2327 Fixed avoid calling
typeParameters
getter. - #2331 Improved compatibility with planned changes in ESLint v9.
Full Changelog: v9.18.1...v9.19.0