v9.28.0
✨ Enhancements
New Rules
- #2430 Added
vue/max-props
rule that enforces the maximum number of props in Vue components. - #2494 Added
vue/require-default-export
rule that requires components to be thedefault
export. - #2525 Added
vue/max-template-depth
rule that enforces the maximum depth of<template>
.
New Features
- #2501 Allow specifying custom macros in
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. - #2511 Fixed false negatives for
v-model
directive invue/attribute-hyphenation
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.
⚙️ Updates
- #2498 Renamed flat config names for inspector.
Full Changelog: v9.27.0...v9.28.0