Releases: vuejs/eslint-plugin-vue
Releases Β· vuejs/eslint-plugin-vue
v9.24.1
v9.24.0
β¨ Enhancements
- #2407, #2436 Added support for the flat config format.
π Bug Fixes
- #2425 Fixed error for empty value in
vue/no-restricted-classrule
Full Changelog: v9.23.0...v9.24.0
v9.23.0
β¨ Enhancements
- #2422 Added support for auto-imported Vue APIs (e.g. in
vue/no-ref-as-operand). - #2423 Added suggestions for reordering to
vue/order-in-componentswhen there may be side effects.
π Bug Fixes
- #2410 Fixed false positives for non-kebab-case variables in
vue/v-bind-stylerule. - #2416 Fixed false positives for extra comma in
vue/v-for-delimiter-stylerule.
βοΈ Updates
- #2417 Improve performance by removing unnecessary second
filter.
Full Changelog: v9.22.0...v9.23.0
v9.22.0
β¨ Enhancements
- #2390 Improved autofix for
vue/no-deprecated-slot-attributeto wrap<template v-slot>. - #2393 Added support for type assertions and non-null expressions in
vue/valid-v-modelrule.
π Bug Fixes
- #2389 Fixed wrong autofix for
{{'<'}}invue/no-useless-mustachesrule. - #2394 Fixed false negative for conditional expressions in
vue/no-setup-props-reactivity-lossrule. - #2397 Fixed
vue/require-explicit-slotsrule to recognize slot names enclosed in quotes. - #2408 Fixed wrong autofix for
v-bindwith spaces invue/no-useless-v-bindrule.
Full Changelog: v9.21.1...v9.22.0
v9.21.1
π Bug Fixes
- #2388 Fixed error in render functions in
vue/no-unused-emit-declarationsrule. - #2386 Fixed false positives/negatives for multiple
defineModelcalls invue/define-macros-orderrule.
Full Changelog: v9.21.0...v9.21.1
v9.21.0
β¨ Enhancements
- #2325 Added
vue/require-explicit-slotsrule that requires slots to be explicitly defined withdefineSlotsorslotscomponent option. - #2367 Added
vue/no-restricted-v-onrule that disallows specific arguments inv-on. - #2381 Added
sameNameShorthandoption tovue/v-bind-stylerule.
βοΈ Updates
- #2379 Upgraded
vue-eslint-parserto v9.4.2.- Fixed false positive with camelCase
v-bindsame-name shorthand invue/no-unused-property.
- Fixed false positive with camelCase
Full Changelog: v9.20.1...v9.21.0
v9.20.1
π Bug Fixes
- #2364 Fixed false positives for
defineModelinvue/no-undef-propertiesrule.
Full Changelog: v9.20.0...v9.20.1
v9.20.0
β¨ Enhancements
Added Support for Vue 3.4 π
- #2357 Added support for
v-bindsame-name shorthand. - #2360 Added support for
defineModelmacro.
New Rules
- #2110 Added
vue/enforce-style-attributerule that enforces or forbids the use of thescopedandmoduleattributes in SFC top level<style>tags.
New Options
- #2323 Added
allowlist option tovue/no-template-shadowrule. - #2339 Added
allowlist option tovue/no-v-text-v-html-on-componentrule. - #2346 Added
selfClosingTagoption tovue/html-closing-bracket-newlinerule. - #2349 Added
defineExposeLastoption tovue/define-macros-orderrule.
Improvements
- #2345 Added support for
$props.<prop>tovue/no-unused-propertiesrule. - #2276 Added support for Vuex to
vue/no-unused-propertiesrule.
π Bug Fixes
- #2340 Fixed
vue/no-unused-emit-declarationsrule to detect emits in template with<script setup>. - #2350 Fixed
vue/require-explicit-emitsrule to detect emits in template with<script setup>.
Full Changelog: v9.19.2...v9.20.0
v9.19.2
π Bug Fixes
- #2336 Fixed crash for TSFunctionType with
type-literaloption invue/define-emits-declarationrule
Full Changelog: v9.19.1...v9.19.2