Update dependency eslint-plugin-vue to v10 #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^7.1.0
->^10.0.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v10.5.0
Compare Source
Minor Changes
ignoredObjectNames
option tovue/no-async-in-computed-properties
(#2927)ignorePattern
option tovue/no-v-html
(#2857)sortLineLength
option tovue/attributes-order
(#2759)vue/component-name-in-template-casing
globals
option to support regex patterns (#2928)vue/valid-define-options
to allow local literal constant references (#2920)vue/no-mutating-props
andvue/no-side-effects-in-computed-properties
rules to detectObject.assign
mutations (#2929)@stylistic/eslint-plugin
as optional peer dependency (#2884)Patch Changes
vue/define-macros-order
to ignore enum declarations anddeclare
statements (#2918)v10.4.0
Compare Source
Minor Changes
ignoreParents
option tovue/no-deprecated-slot-attribute
(#2784)vue/no-negated-v-if-condition
rule (#2794)vue/no-negated-condition
rule (#2795)Patch Changes
vue/block-lang
error messages (#2805)v10.3.0
Compare Source
Minor Changes
@typescript-eslint/parser
as an optional peer dependency (#2775)vue/no-deprecated-slot-attribute
ignore
option now supports regex patterns (#2773)Patch Changes
vue/script-indent
rule (#2775)vue/no-restricted-html-elements
now also checks SVG and MathML elements (#2755)v10.2.0
Compare Source
Minor Changes
Patch Changes
v10.1.0
Compare Source
✨ Enhancements
allowlist
option ofvue/no-bare-strings-in-template
rule to accept regex.vue/define-props-destructuring
rule that enforce consistent style for props destructuring.disallowComments
option tovue/no-multiple-template-root
rule.Full Changelog: vuejs/eslint-plugin-vue@v10.0.1...v10.1.0
v10.0.1
Compare Source
🐛 Bug Fixes
.eslintrc
configs.vue/prefer-use-template-ref
rule.vue/no-ref-as-operand
rule.vue/require-default-prop
rule.vue/no-dupe-keys
rule.⚙️ Updates
vue/no-export-in-script-setup
rule.vue/html-self-closing
rule.Full Changelog: vuejs/eslint-plugin-vue@v10.0.0...v10.0.1
v10.0.0
Compare Source
💥 Breaking changes
^18.18.0 || ^20.9.0 || >=21.1.0
^8.57.0 || ^9.0.0
vue/block-order
rule to recommended configs (replaces the removedvue/component-tags-order
rule).vue/no-deprecated-delete-set
rule to vue3-essential config.vue/no-deprecated-model-definition
rule to vue3-essential config.vue/no-required-prop-with-default
rule to recommended configs.vue/valid-define-options
rule to vue3-essential config..eslintrc
configs (to matcheslint.config.js
config names; see PR for comparison)..eslintrc
base config so that vue-eslint-parser is only used for.vue
files.slots
andexpose
to the default order ofvue/order-in-components
rule.vue/custom-event-name-casing
rule.runOutsideVue
option fromvue/sort-keys
rule.setup-compiler-macros
environments.✨ Enhancements
vue/no-import-compiler-macros
rule that disallows importing Vue compiler macros.except
option tovue/prefer-true-attribute-shorthand
rule.defineNuxtComponent()
.⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.33.0...v10.0.0
v9.33.0
Compare Source
✨ Enhancements
vue/no-implicit-coercion
rule to disallow shorthand type conversions in<template>
.vue/no-ref-as-operand
rule to checkemit
payloads.ignoreProps
option tovue/prop-name-casing
rule.🐛 Bug Fixes
vue/prefer-use-template-ref
rule whensetup
is an arrow function.vue/no-bare-strings-in-template
rule.vue/max-props
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.32.0...v9.33.0
v9.32.0
Compare Source
✨ Enhancements
checkMultiRootNodes
option tovue/no-duplicate-attr-inheritance
rule and changed to ignore multi-root components by default.ignoreElementNamespaces
option tovue/no-v-text-v-html-on-component
rule.ignoreTags
option tovue/attribute-hyphenation
rule andvue/v-on-event-hyphenation
rule.vue/restricted-component-names
rule that enforces using only specific component names.vue/slot-name-casing
rule that enforces specific casing for slot names.vue/require-explicit-slots
rule.shallowRef
invue/prefer-use-template-ref
rule.🐛 Bug Fixes
vue/prefer-use-template-ref
rule to only check root-level variables.Full Changelog: vuejs/eslint-plugin-vue@v9.31.0...v9.32.0
v9.31.0
Compare Source
✨ Enhancements
caseSensitive
option tovue/no-reserved-component-names
rule.vue/prefer-use-template-ref
rule that requires usinguseTemplateRef()
instead ofref()
for template refs.vue/no-empty-component-block
rule auto-fixable.🐛 Bug Fixes
v-bind:name
invue/require-explicit-slots
rule.⚙️ Updates
vue/define-macros-order
rule to skip TypeScriptdeclare
statements.Full Changelog: vuejs/eslint-plugin-vue@v9.30.0...v9.31.0
v9.30.0
Compare Source
🐛 Bug Fixes
vue/custom-event-name-casing
rule to checkdefineEmits()
variable and$emit()
in<template>
.vue/require-valid-default-prop
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.29.1...v9.30.0
v9.29.1
Compare Source
🐛 Bug Fixes
Full Changelog: vuejs/eslint-plugin-vue@v9.29.0...v9.29.1
v9.29.0
Compare Source
✨ Enhancements
New Rules
vue/no-deprecated-delete-set
rule that disallows using deprecated$delete
and$set
.Others
vue/no-undef-properties
rule.useTemplateRef()
tovue/no-unused-refs
rule.vue/require-valid-default-prop
rule.vue/require-default-prop
rule.vue/no-boolean-default
rule.vue/no-required-prop-with-default
rule.vue/no-restricted-props
rule.vue/no-setup-props-reactivity-loss
rule.⚙️ Updates
.tsx
files.v9.28.0
Compare Source
✨ Enhancements
New Rules
vue/max-props
rule that enforces the maximum number of props in Vue components.vue/require-default-export
rule that requires components to be thedefault
export.vue/max-template-depth
rule that enforces the maximum depth of<template>
.New Features
vue/define-macros-order
rule.additionalDirectives
option tovue/require-toggle-inside-transition
rule.🐛 Bug Fixes
vue/v-if-else-key
rule.vue/require-typed-object-prop
rule.v-model
directive invue/attribute-hyphenation
rule.vue/attribute-hyphenation
rule to skipv-bind.sync
.vue/no-deprecated-slot-attribute
rule to handlev-for
with dynamicslot
.vue/no-deprecated-slot-attribute
rule to skip dynamic components.⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.27.0...v9.28.0
v9.27.0
Compare Source
✨ Enhancements
vue/require-toggle-inside-transition
rule to understandv-bind:appear
.🐛 Bug Fixes
vue/no-setup-props-reactivity-loss
rule.⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.26.0...v9.27.0
v9.26.0
Compare Source
✨ Enhancements
vue/component-name-in-template-casing
vue/no-deprecated-html-element-is
vue/no-undef-components
vue/no-unused-components
vue/script-setup-uses-vars
(note that this rule is deprecated!)🐛 Bug Fixes
vue/require-default-prop
rule to ignore the spread and continue checking.vue/require-typed-ref
rule to ignore<script>
blocks withoutlang="ts"
in.vue
files.Full Changelog: vuejs/eslint-plugin-vue@v9.25.0...v9.26.0
v9.25.0
Compare Source
✨ Enhancements
vue/no-unused-properties
rule.🐛 Bug Fixes
vue/no-use-computed-property-like-method
rule to understand logical expressions.vue/no-unused-properties
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.24.1...v9.25.0
v9.24.1
Compare Source
⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.24.0...v9.24.1
v9.24.0
Compare Source
✨ Enhancements
🐛 Bug Fixes
vue/no-restricted-class
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.23.0...v9.24.0
v9.23.0
Compare Source
✨ Enhancements
vue/no-ref-as-operand
).vue/order-in-components
when there may be side effects.🐛 Bug Fixes
vue/v-bind-style
rule.vue/v-for-delimiter-style
rule.⚙️ Updates
filter
.Full Changelog: vuejs/eslint-plugin-vue@v9.22.0...v9.23.0
v9.22.0
Compare Source
✨ Enhancements
vue/no-deprecated-slot-attribute
to wrap<template v-slot>
.vue/valid-v-model
rule.🐛 Bug Fixes
{{'<'}}
invue/no-useless-mustaches
rule.vue/no-setup-props-reactivity-loss
rule.vue/require-explicit-slots
rule to recognize slot names enclosed in quotes.v-bind
with spaces invue/no-useless-v-bind
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.21.1...v9.22.0
v9.21.1
Compare Source
🐛 Bug Fixes
vue/no-unused-emit-declarations
rule.defineModel
calls invue/define-macros-order
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.21.0...v9.21.1
v9.21.0
Compare Source
✨ Enhancements
vue/require-explicit-slots
rule that requires slots to be explicitly defined withdefineSlots
orslots
component option.vue/no-restricted-v-on
rule that disallows specific arguments inv-on
.sameNameShorthand
option tovue/v-bind-style
rule.⚙️ Updates
vue-eslint-parser
to v9.4.2.v-bind
same-name shorthand invue/no-unused-property
.Full Changelog: vuejs/eslint-plugin-vue@v9.20.1...v9.21.0
v9.20.1
Compare Source
🐛 Bug Fixes
defineModel
invue/no-undef-properties
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.20.0...v9.20.1
v9.20.0
Compare Source
✨ Enhancements
Added Support for Vue 3.4 🏀
v-bind
same-name shorthand.defineModel
macro.New Rules
vue/enforce-style-attribute
rule that enforces or forbids the use of thescoped
andmodule
attributes in SFC top level<style>
tags.New Options
allow
list option tovue/no-template-shadow
rule.allow
list option tovue/no-v-text-v-html-on-component
rule.selfClosingTag
option tovue/html-closing-bracket-newline
rule.defineExposeLast
option tovue/define-macros-order
rule.Improvements
$props.<prop>
tovue/no-unused-properties
rule.vue/no-unused-properties
rule.🐛 Bug Fixes
vue/no-unused-emit-declarations
rule to detect emits in template with<script setup>
.vue/require-explicit-emits
rule to detect emits in template with<script setup>
.Full Changelog: vuejs/eslint-plugin-vue@v9.19.2...v9.20.0
v9.19.2
Compare Source
🐛 Bug Fixes
type-literal
option invue/define-emits-declaration
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.19.1...v9.19.2
v9.19.1
Compare Source
🐛 Bug Fixes
plugin:vue/vue3-strongly-recommended
Full Changelog: vuejs/eslint-plugin-vue@v9.19.0...v9.19.1
v9.19.0
Compare Source
✨ Enhancements
New Rules
vue/no-unused-emit-declarations
rule that disallows unused emit declarations.vue/v-if-else-key
rule that requires key attribute for conditionally rendered repeated components.New Options
type-literal
option invue/define-emits-declaration
rule.externalIgnores
option invue/singleline-html-element-content-newline
rule.ignore
option invue/no-deprecated-slot-attribute
rule.⚙️ Changes
vue/v-on-event-hyphenation
rule to be auto-fixable by default in Vue 3.<template>
to extend from ESLint Stylistic.⚙️ Updates
typeParameters
getter.Full Changelog: vuejs/eslint-plugin-vue@v9.18.1...v9.19.0
v9.18.1
Compare Source
🐛 Bug Fixes
<slot>
,:key
, andappear
attribute invue/require-toggle-inside-transition
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.18.0...v9.18.1
v9.18.0
Compare Source
🐛 Bug Fixes
vue/prefer-define-options
rule to insertdefineOptions
after import declaration.vue/require-toggle-inside-transition
rule.vue/component-name-in-template-casing
to ignore elements in vue template syntax.⚙️ Updates
typeParameters
withtypeArguments
.Full Changelog: vuejs/eslint-plugin-vue@v9.17.0...v9.18.0
v9.17.0
Compare Source
✨ Enhancements
vue/no-deprecated-model-definition
.⚙️ Updates
vue/no-dupe-keys
.vue/no-setup-props-destructure
(now deprecated) tovue/no-setup-props-reactivity-loss
, and removed both rules from any preset configs.vue/no-ref-object-destructure
(now deprecated) tovue/no-ref-object-reactivity-loss
.Full Changelog: vuejs/eslint-plugin-vue@v9.16.1...v9.17.0
v9.16.1
Compare Source
🐛 Bug Fixes
@typescript-eslint
v6 invue/script-indent
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.16.0...v9.16.1
v9.16.0
Compare Source
✨ Enhancements
vue/no-use-v-else-with-v-for
rule that disallows usingv-else-if
/v-else
on the same element asv-for
.vue/require-typed-object-prop
rule that enforces adding type declarations to object props.vue/no-deprecated-model-definition
rule that disallows themodel
definition, which is deprecated in Vue 3.🐛 Bug Fixes
vue/attribute-hyphenation
rule when it would break props.⚙️ Updates
vue/html-self-closing
rule.vue/no-setup-props-destructure
rule (expect more lint issues!).vue/component-tags-order
tovue/block-order
(the old rule is still included in the preset configs, but it is now deprecated).Full Changelog: vuejs/eslint-plugin-vue@v9.15.1...v9.16.0
v9.15.1
Compare Source
🐛 Bug Fixes
vue/no-console
rule false positives outside the<template>
block.Full Changelog: vuejs/eslint-plugin-vue@v9.15.0...v9.15.1
v9.15.0
Compare Source
✨ Enhancements
vue/no-console
rule that applies the coreno-console
rule to expressions in<template>
.vue/require-macro-variable-name
rule that requires a certain macro variable name.vue/require-typed-ref
rule that requiresref
andshallowRef
functions to be strongly typed.vue/no-restricted-component-names
rule that disallows specific component names.vue/max-lines-per-block
rule that enforces a maximum number of lines in Vue SFC blocks.Full Changelog: vuejs/eslint-plugin-vue@v9.14.1...v9.15.0
v9.14.1
Compare Source
🐛 Bug Fixes
toRef
props invue/no-dupe-keys
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.14.0...v9.14.1
v9.14.0
Compare Source
✨ Enhancements
defineOptions
tovue/no-duplicate-attr-inheritance
rule.<script setup>
tovue/no-dupe-keys
rule.🐛 Bug Fixes
additionalProperties
tovue/no-deprecated-router-link-tag-prop
schema.vue/no-undef-properties
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.13.0...v9.14.0
v9.13.0
Compare Source
Support for Vue 3.3 "Rurouni Kenshin" 🎉
see https://blog.vuejs.org/posts/vue-3-3
✨ Enhancements
New Rules
vue/prefer-define-options
rule that enforces use ofdefineOptions
instead of default export.vue/valid-define-options
rule that checks whetherdefineOptions
compiler macro is valid.Other Changes
defineOptions
anddefineSlots
tovue/define-macros-order
rule.defineOptions
anddefineSlots
tovue/no-unsupported-features
rule.defineEmits
type syntax tovue/require-explicit-emits
rule.defineOptions
tovue/component-definition-name-casing
rule.defineOptions
tovue/match-component-file-name
rule.defineOptions
tovue/multi-word-component-names
rule.defineOptions
tovue/no-reserved-component-names
rule.defineOptions
tovue/no-restricted-component-options
rule.defineOptions
tovue/order-in-components
rule.defineOptions
tovue/padding-lines-in-component-definition
rule.⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.12.0...v9.13.0
v9.12.0
Compare Source
✨ Enhancements
shallowOnly
option tovue/no-mutating-props
rule.vue/no-root-v-if
rule that disallows thev-if
directive on the root element.⚙️ Updates
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.