Update dependency eslint-plugin-vue to v9.33.0 #11
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "renovate/eslint-plugin-vue-9.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
9.10.0
->9.33.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.29.1...v9.30.0
v9.29.1
Compare Source
🐛 Bug Fixes
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0
v9.24.1
Compare Source
⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1
v9.24.0
Compare Source
✨ Enhancements
🐛 Bug Fixes
vue/no-restricted-class
ruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.21.0
v9.20.1
Compare Source
🐛 Bug Fixes
defineModel
invue/no-undef-properties
rule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.0
v9.19.2
Compare Source
🐛 Bug Fixes
type-literal
option invue/define-emits-declaration
ruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.1...v9.19.2
v9.19.1
Compare Source
🐛 Bug Fixes
plugin:vue/vue3-strongly-recommended
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.17.0
v9.16.1
Compare Source
🐛 Bug Fixes
@typescript-eslint
v6 invue/script-indent
ruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0
v9.14.1
Compare Source
🐛 Bug Fixes
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
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: https://github.com/vuejs/eslint-plugin-vue/compare/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: https://github.com/vuejs/eslint-plugin-vue/compare/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
meta
object to the processor.meta
object to the plugin.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0
v9.11.1
Compare Source
🐛 Bug Fixes
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1
v9.11.0
Compare Source
✨ Enhancements
unreferencedOptions
option tovue/no-unused-properties
rule.🐛 Bug Fixes
vue/camelcase
rule when using ESLint >= v8.38.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
574195da66
toa41418dae1
a41418dae1
to7ca468cffe
7ca468cffe
to7539f0e5ab
7539f0e5ab
to5086e4876a
5086e4876a
toc8cb10614a
c8cb10614a
to5a842c8160