-
-
Notifications
You must be signed in to change notification settings - Fork 695
Releases: vuejs/eslint-plugin-vue
Releases Β· vuejs/eslint-plugin-vue
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
Assets 2
10 people reacted
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
Assets 2
7 people reacted
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
Assets 2
2 people reacted
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
Assets 2
6 people reacted
v9.20.1
π Bug Fixes
- #2364 Fixed false positives for
defineModelinvue/no-undef-propertiesrule.
Full Changelog: v9.20.0...v9.20.1
Assets 2
9 people reacted
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
Assets 2
29 people reacted
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
Assets 2
5 people reacted
v9.19.1
π Bug Fixes
- #2334 Fixed broken config of
plugin:vue/vue3-strongly-recommended
Full Changelog: v9.19.0...v9.19.1
Assets 2
1 person reacted
v9.19.0
β¨ Enhancements
New Rules
- #2312 Added
vue/no-unused-emit-declarationsrule that disallows unused emit declarations. - #2280 Added
vue/v-if-else-keyrule that requires key attribute for conditionally rendered repeated components.
New Options
- #2315 Added
type-literaloption invue/define-emits-declarationrule. - #2297 Added
externalIgnoresoption invue/singleline-html-element-content-newlinerule. - #2314 Added
ignoreoption invue/no-deprecated-slot-attributerule.
βοΈ Changes
- #2320 Changed
vue/v-on-event-hyphenationrule 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
typeParametersgetter. - #2331 Improved compatibility with planned changes in ESLint v9.
Full Changelog: v9.18.1...v9.19.0
Assets 2
v9.18.1
π Bug Fixes
- #2303 Fixed false positives for
<slot>,:key, andappearattribute invue/require-toggle-inside-transitionrule.
Full Changelog: v9.18.0...v9.18.1
Assets 2
2 people reacted