v9.28.0
✨ Enhancements
New Rules
- #2430 Added
vue/max-propsrule that enforces the maximum number of props in Vue components. - #2494 Added
vue/require-default-exportrule that requires components to be thedefaultexport. - #2525 Added
vue/max-template-depthrule that enforces the maximum depth of<template>.
New Features
- #2501 Allow specifying custom macros in
vue/define-macros-orderrule. - #2537 Added
additionalDirectivesoption tovue/require-toggle-inside-transitionrule.
🐛 Bug Fixes
- #2348 Fixed false positives/negatives for siblings in
vue/v-if-else-keyrule. - #2505 Fixed false positives for JavaScript components in
vue/require-typed-object-proprule. - #2511 Fixed false negatives for
v-modeldirective invue/attribute-hyphenationrule. - #2533 Fixed auto-fix for
vue/attribute-hyphenationrule to skipv-bind.sync. - #2529 Fixed auto-fix for
vue/no-deprecated-slot-attributerule to handlev-forwith dynamicslot. - #2530 Fixed auto-fix for
vue/no-deprecated-slot-attributerule to skip dynamic components.
⚙️ Updates
- #2498 Renamed flat config names for inspector.
Full Changelog: v9.27.0...v9.28.0