Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v9.7.0
✨ Enhancements
- #1996 Added
vue/multiline-ternary
rule that applies the coremultiline-ternary
rule to expressions in<template>
and<style>
. - #2009 Added
vue/v-on-handler-style
rule that enforces writing style for handlers inv-on
directives. - #1989 Added
globals
option tovue/component-name-in-template-casing
rule. - #2013 Added support for regexp options to
vue/no-restricted-class
rule.
⚙️ Updates
- #2009 Deprecated
vue/v-on-function-call
rule. Use the newvue/v-on-handler-style
rule instead.
Full Changelog: v9.6.0...v9.7.0
v9.6.0
✨ Enhancements
- #1943 Added
vue/no-required-prop-with-default
rule that enforces props with default values to be optional. - #1982 Added
consistent
option tovue/padding-line-between-tags
rule.
🐛 Bug Fixes
- #1988 Fixed false positives for uninitialized vars in
vue/no-ref-as-operand
rule.
Full Changelog: v9.5.1...v9.6.0
v9.5.1
🐛 Bug Fixes
- #1976 Fixed false positives for
<script setup>
with TypeScript invue/no-undef-components
rule.
Full Changelog: v9.5.0...v9.5.1
v9.5.0
✨ Enhancements
- #1965 Added
vue/no-ref-object-destructure
rule that reports the destructuring of ref objects causing the value to lose reactivity. - #1967 Changed
vue/no-undef-components
rule to report when type-only imports are used. - #1966 Added
vue/padding-line-between-tags
rule that requires or disallows newlines between sibling tags in template. - #1968 Added
vue/define-emits-declaration
rule that enforces the declaration style ofdefineEmits
. - #1968 Added
vue/define-props-declaration
rule that enforces the declaration style ofdefineProps
.
⚙️ Updates
- #1955 Changed
vue/order-in-components
rule to be auto-fixable even when usingPropType
.
Full Changelog: v9.4.0...v9.5.0
Thanks @dev1437, @Amorites, @acupofspirt for your contributions!
v9.4.0
🐛 Bug Fixes
- #1942 Fixed false negatives for delete operation in
vue/no-mutating-props
rule
Full Changelog: v9.3.0...v9.4.0
v9.3.0
⚙️ Updates
- #1934 Added support for
<script setup>
tovue/component-name-in-template-casing
rule.
🐛 Bug Fixes
- #1937 Fixed false negatives for template literals in
vue/custom-event-name-casing
,vue/no-restricted-custom-event
, andvue/require-explicit-emits
rules.
Full Changelog: v9.2.0...v9.3.0
v9.2.0
⚙️ Updates
- #1917 Added support for Vue 2.7 to
vue/no-unsupported-features
rule.
Full Changelog: v9.1.1...v9.2.0
v9.1.1
🐛 Bug Fixes
- #1909 Fixed false negatives in
vue/no-unused-components
rule
Full Changelog: v9.1.0...v9.1.1
v9.1.0
🐛 Bug Fixes
- #1907 Fixed
vue/prefer-import-from-vue
rule to skip side-effect imports in.d.ts
files.
Full Changelog: v9.0.1...v9.1.0
v9.0.1
🐛 Bug Fixes
- #1896 Fixed false positive for script setup in
vue/no-expose-after-await
rule
Full Changelog: v9.0.0...v9.0.1