✨ Enhancements
New Rules
- #2430 Added
vue/max-props
rule that enforce maximum number of props in Vue component. - #2494 Added
vue/require-default-export
rule that require components to be thedefault
export. - #2525 Added
vue/max-template-depth
rule that enforce maximum depth of<template>
.
New Features
- #2501 Added option for custom macros to
vue/define-macros-order
rule. - #2537 Added
additionalDirectives
option tovue/require-toggle-inside-transition
rule.
🐛 Bug Fixes
- #2348 Fixed false positives/negatives for siblings in
vue/v-if-else-key
rule. - #2505 Fixed false positives for JavaScript components in
vue/require-typed-object-prop
rule. - #2533 Fixed auto-fix for
vue/attribute-hyphenation
rule to skipv-bind.sync
. - #2529 Fixed auto-fix for
vue/no-deprecated-slot-attribute
rule to handlev-for
with dynamicslot
. - #2530 Fixed auto-fix for
vue/no-deprecated-slot-attribute
rule to skip dynamic components. - #2511 Fixed false negatives for
v-model
directive invue/attribute-hyphenation
rule.
⚙️ Updates
- #2498 Renamed flat config name for inspector.
Full Changelog: v9.27.0...v9.28.0