chore(deps): update dependency eslint-plugin-vue to v9.15.1
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
eslint-plugin-vue (source) | 9.3.0 -> 9.15.1 |
Release Notes
vuejs/eslint-plugin-vue
v9.15.1
🐛 Bug Fixes
-
#2221 Fixed
vue/no-console
rule false positives outside the<template>
block.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.0...v9.15.1
v9.15.0
✨ Enhancements
-
#2194 Added
vue/no-console
rule that applies the coreno-console
rule to expressions in<template>
. -
#2198 Added
vue/require-macro-variable-name
rule that requires a certain macro variable name. -
#2204 Added
vue/require-typed-ref
rule that requiresref
andshallowRef
functions to be strongly typed. -
#2210 Added
vue/no-restricted-component-names
rule that disallows specific component names. -
#2213 Added
vue/max-lines-per-block
rule that enforces a maximum number of lines in Vue SFC blocks.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0
v9.14.1
🐛 Bug Fixes
-
#2189 Fixed false positives for
toRef
props invue/no-dupe-keys
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.0...v9.14.1
v9.14.0
✨ Enhancements
-
#2178 Added support for
defineOptions
tovue/no-duplicate-attr-inheritance
rule. -
#2185 Added support for
<script setup>
tovue/no-dupe-keys
rule.
🐛 Bug Fixes
-
#2177 Added
additionalProperties
tovue/no-deprecated-router-link-tag-prop
schema. -
#2186 Fixed false positive for unknown prop in
vue/no-undef-properties
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.13.0...v9.14.0
v9.13.0
Support for Vue 3.3 "Rurouni Kenshin"
see https://blog.vuejs.org/posts/vue-3-3
✨ Enhancements
New Rules
-
#2167 Added
vue/prefer-define-options
rule that enforces use ofdefineOptions
instead of default export. -
#2165 Added
vue/valid-define-options
rule that checks whetherdefineOptions
compiler macro is valid.
Other Changes
-
#2154 Added support for
defineOptions
anddefineSlots
tovue/define-macros-order
rule. -
#2163 Added support for
defineOptions
anddefineSlots
tovue/no-unsupported-features
rule. -
#2152 Added support for new
defineEmits
type syntax tovue/require-explicit-emits
rule. -
#2159 Added support for
defineOptions
tovue/component-definition-name-casing
rule. -
#2161 Added support for
defineOptions
tovue/match-component-file-name
rule. -
#2157 Added support for
defineOptions
tovue/multi-word-component-names
rule. -
#2158 Added support for
defineOptions
tovue/no-reserved-component-names
rule. -
#2162 Added support for
defineOptions
tovue/no-restricted-component-options
rule. -
#2160 Added support for
defineOptions
tovue/order-in-components
rule. -
#2164 Added support for
defineOptions
tovue/padding-lines-in-component-definition
rule. - #2134 Added support for imported types in SFC macros.
⚙ ️ Updates
- #2170 Upgraded to vue-eslint-parser v9.3 that supports Vue 3.3.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.12.0...v9.13.0
v9.12.0
✨ Enhancements
-
#2135 Added
shallowOnly
option tovue/no-mutating-props
rule. -
#2138 Added
vue/no-root-v-if
rule that disallows thev-if
directive on the root element.
⚙ ️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0
v9.11.1
🐛 Bug Fixes
- #2147 Fixed rules incompatible with ESLint v8.40.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1
v9.11.0
✨ Enhancements
-
#2101 Added
unreferencedOptions
option tovue/no-unused-properties
rule.
🐛 Bug Fixes
-
#2131 Fixed false negatives in
vue/camelcase
rule when using ESLint >= v8.38.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0
v9.10.0
✨ Enhancements
-
#2111 Added suggestions for
vue/no-template-target-blank
rule.
⚙ ️ Updates
-
#2112 Changed to use
@eslint-community/eslint-utils
package.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.9.0...v9.10.0
v9.9.0
✨ Enhancements
-
#2066 Added
vue/array-element-newline
rule that applies the corearray-element-newline
rule to expressions in<template>
. -
#2042 Improved
vue/script-indent
rule to support more TypeScript syntax. -
#2052 Added
vue/padding-lines-in-component-definition
rule that requires or disallows padding lines in component definition. -
#2068 Added new
ATTR_DYNAMIC
,ATTR_STATIC
, andATTR_SHORTHAND_BOOL
options tovue/attributes-order
rule.
🐛 Bug Fixes
-
#2069 Fixed false positive for type-only imports in
vue/component-name-in-template-casing
rule. -
#2070 Fixed spaces around comma in
vue/component-api-style
rule report messages. -
#2071 Fixed
vue/define-macros-order
rule to hoist secondary expressions correctly. -
#2073 Fixed false positives for circular references in
<script setup>
invue/no-undef-components
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.8.0...v9.9.0
v9.8.0
✨ Enhancements
-
#2019 Added
vue/require-prop-comment
rule that requires props to have a comment. -
#2034 Added suggestion for
vue/require-name-property
rule.
🐛 Bug Fixes
-
#2024 Fixed false positives for
<Textarea>
components invue/no-textarea-mustache
rule. -
#2040 Fixed false positives for exported interfaces/type declarations in
vue/define-macros-order
rule. -
#2031 Fixed false positives for HTML tags when using HTML-like components in
vue/component-name-in-template-casing
rule. -
#2045 Fixed
vue/attribute-hyphenation
rule to disable autofix for attributes containing underscores (_
).
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.7.0...v9.8.0
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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.