Update dependency eslint-plugin-vue to v7.20.0 #14
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.
This PR contains the following updates:
7.1.0
->7.20.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v7.20.0
Compare Source
✨ Enhancements
vue/no-undef-properties
rule that warns of using undefined properties.vue/no-computed-properties-in-data
rule that disallow accessing computed properties indata()
.vue/no-use-computed-property-like-method
rule reports.vue/multi-word-component-names
rule to enforce multiple words in component names.vue/no-deprecated-router-link-tag-prop
rule that disallow using deprecatedtag
property on<RouterLink>
.🐛 Bug Fixes
vue/no-use-computed-property-like-method
rule.vue/valid-define-emits
andvue/valid-define-props
rules.⚙️ Updates
^6.2.0 || ^7.0.0 || ^8.0.0-0
to^6.2.0 || ^7.0.0 || ^8.0.0
.Full Changelog: vuejs/eslint-plugin-vue@v7.19.1...v7.20.0
v7.19.1
Compare Source
🐛 Bug Fixes
83eab8d
] Fixed false positives for vars inside functions invue/valid-define-emits
andvue/valid-define-props
rules. Picked from #1652Full Changelog: vuejs/eslint-plugin-vue@v7.19.0...v7.19.1
v7.19.0
Compare Source
✨ Enhancements
vue/no-restricted-class
rule that reports the classes you don't want to allow in the template.vue/no-useless-template-attributes
rule that disallow useless attribute on<template>
tags.🐛 Bug Fixes
vue/no-unused-properties
rule.update:
.All commits: v7.18.0 -> v7.19.0
v7.18.0
Compare Source
✨ Enhancements
vue/component-api-style
rule that aims to make the API style you use to define Vue components consistent in your project.⚙️ Updates
vue/script-indent
rule to support Class static block and typescript-eslint v5(rc)defineProps
to follow vue v3.2.9.All commits: v7.17.0 -> v7.18.0
v7.17.0
Compare Source
✨ Enhancements
vue/no-v-text
rule that disallowv-text
directive.⚙️ Updates
Note that ESLint v8 beta support will be removed without notice once a stable version of ESLint v8 is released.
All commits: v7.16.0 -> v7.17.0
v7.16.0
Compare Source
✨ Enhancements
vue/valid-v-memo
rule that enforce validv-memo
directives.vue/no-unsupported-features
rule to support Vue 3.2 syntaxes.🐛 Bug Fixes
vue/script-setup-uses-vars
rule.⚙️ Updates
vue/no-restricted-v-bind
andvue/valid-v-bind
rules to supportattr
modifier.All commits: v7.15.2 -> v7.16.0
v7.15.2
Compare Source
🐛 Bug Fixes
vue/no-use-computed-property-like-method
rule.All commits: v7.15.1 -> v7.15.2
v7.15.1
Compare Source
🐛 Bug Fixes
vue/no-reserved-keys
rule.vue/require-default-prop
rule.All commits: v7.15.0 -> v7.15.1
v7.15.0
Compare Source
✨ Enhancements
vue/no-use-computed-property-like-method
rule that disallows to use computed property like method.vue/block-lang
rule rule that disallows the use of languages other than those available in the your application for thelang
attribute of block elements.vue/comma-spacing
rule.vue/dot-notation
rule.vue/eqeqeq
rule.vue/func-call-spacing
rule.vue/no-extra-parens
rule.vue/no-restricted-syntax
rule.vue/no-useless-concat
rule.vue/prefer-template
rule.vue/space-in-parens
rule.vue/space-infix-ops
rule.vue/space-unary-ops
rule.vue/template-curly-spacing
rule.🐛 Bug Fixes
vue/no-mutating-props
rule.⚙️ Updates
All commits: v7.14.0 -> v7.15.0
v7.14.0
Compare Source
✨ Enhancements
vue/require-expose
rule that enforces the component to explicitly declare the exposed properties to the component usingexpose
.vue/no-unused-properties
rule to supportexpose
vue/no-parsing-error
rule.vue/no-unused-properties
rule.vue/script-setup-uses-vars
rule.vue/no-unsupported-features
rule.vue/valid-v-xxx
rules.🐛 Bug Fixes
<script setup>
invue/no-lifecycle-after-await
rule.<script setup>
invue/no-watch-after-await
rule.<script setup>
invue/no-restricted-call-after-await
rule.semver
compatible with Node v8.All commits: v7.13.0 -> v7.14.0
v7.13.0
Compare Source
✨ Enhancements
<script setup>
vue/script-setup-uses-vars
rule that will find variables in<script setup>
used in<template>
and mark them as used.vue/no-export-in-script-setup
rule that disallows ES export in<script setup>
.vue/valid-define-props
rule that reportsdefineProps
compiler macros in the following cases:defineProps
are referencing locally declared variables.defineProps
has both a literal type and an argument. e.g.defineProps<{/*props*/}>({/*props*/})
defineProps
has been called multiple times.defineProps
andexport default {}
.defineProps
orexport default {}
.vue/valid-define-emits
rule that reportsdefineEmits
compiler macros in the following cases:defineEmits
are referencing locally declared variables.defineEmits
has both a literal type and an argument. e.g.defineEmits<(e: 'foo')=>void>(['bar'])
defineEmits
has been called multiple times.defineEmits
andexport default {}
.defineEmits
orexport default {}
.vue-eslint-parser
.<script setup>
.vue/no-mutating-props
rule.vue/no-reserved-keys
rule.vue/no-async-in-computed-properties
rule.vue/no-side-effects-in-computed-properties
rule.vue/require-prop-type-constructor
rule.vue/no-lifecycle-after-await
rule.vue/require-valid-default-prop
rule.vue/return-in-emits-validator
rule.vue/require-default-prop
rule.vue/no-setup-props-destructure
rule.vue/no-watch-after-await
rule.vue/no-template-shadow
rule.vue/prop-name-casing
rule.vue/require-prop-types
rule.vue/require-explicit-emits
rule.vue/custom-event-name-casing
rule.vue/no-boolean-default
rule.vue/no-restricted-call-after-await
rule.vue/no-restricted-props
rule.vue/no-unregistered-components
rule.vue/no-unsupported-features
rule.vue/no-unused-properties
rule.vue/no-unused-refs
rule.vue/require-emit-validator
rule.vue/require-name-property
rule.vue/no-template-shadow
rule to supportsetup()
.vue/no-unused-refs
rule to supportsetup()
.🐛 Bug Fixes
⚙️ Updates
vue/experimental-script-setup-vars
rule.All commits: v7.12.1 -> v7.13.0
v7.12.1
Compare Source
🐛 Bug Fixes
vue/script-indent
rule.All commits: v7.12.0 -> v7.12.1
v7.12.0
Compare Source
✨ Enhancements
vue/script-indent
rule to support TypeScript syntax.vue/script-indent
rule andvue/html-indent
rule to support ES2022 Class Fields syntax. (When using espree v8+.)🐛 Bug Fixes
vue/no-deprecated-slot-attribute
rule andvue/no-deprecated-slot-scope-attribute
rule.vue/no-deprecated-props-default-this
rule.⚙️ Updates
All commits: v7.11.1 -> v7.12.0
v7.11.1
Compare Source
🐛 Bug Fixes
objectsInObjects
option invue/object-curly-spacing
rule.v7.11.0
Compare Source
✨ Enhancements
New Rules:
vue/no-this-in-before-route-enter
rule that disallowthis
usage in abeforeRouteEnter
method.vue/no-deprecated-v-is
rule that disallow deprecatedv-is
directive (in Vue.js 3.1.0+).Other changes in Rules:
vue/no-deprecated-destroyed-lifecycle
rule to auto-fixable.⚙️ Updates
is="vue:"
(Vue 3.1.0+).All commits: v7.10.0 -> v7.11.0
v7.10.0
Compare Source
✨ Enhancements
New Rules:
vue/require-emit-validator
rule that enforce the validator definition in emits.Other changes in Rules:
vue/this-in-template
rule to support autofix.⚙️ Updates
vue/attribute-hyphenation
rule to ignore SVG attributes.All commits: v7.9.0 -> v7.10.0
v7.9.0
Compare Source
✨ Enhancements
New Rules:
vue/no-invalid-model-keys
rule that disallow invalid model option keys.vue/no-unused-refs
rule that reports refs that are defined using theref
attribute in<template>
but are not used via$refs
.Other changes in Rules:
singleline.allowFirstLine
option tovue/max-attributes-per-line
rule.🐛 Bug Fixes
as
expression forvue/require-valid-default-prop
rule.All commits: v7.8.0 -> v7.9.0
v7.8.0
Compare Source
✨ Enhancements
vue/require-direct-export
rule to allow more cases (e.g.export default defineComponent({})
).vue/valid-v-show
rule to disallowv-show
in<template>
tag.v7.7.0
Compare Source
✨ Enhancements
Changes in Rules:
ignorePublicMembers
option tovue/no-unused-properties
rule.🐛 Bug Fixes
$
invue/this-in-template
rule.⚙️ Updates
vue-eslint-parser
to v7.6.0.This makes the parser to case sensitive to the name used to determine the element when the file is SFC.
All commits: v7.6.0 -> v7.7.0
v7.6.0
Compare Source
✨ Enhancements
New Rules:
vue/html-button-has-type
rule.Other changes in Rules:
"SLOT"
option tovue/attributes-order
rule to specifyv-slot
order.vue/attributes-order
rule.vue/component-tags-order
rule.vue/max-attributes-per-line
rule.vue/new-line-between-multi-line-property
rule.vue/no-bare-strings-in-template
rule.vue/no-duplicate-attributes
rule.vue/no-potential-component-option-typo
rule.vue/no-reserved-component-names
rule.vue/no-use-v-if-with-v-for
rule.vue/no-useless-mustaches
rule.vue/no-useless-v-bind
rule.vue/valid-v-slot
rule.vue/no-deprecated-slot-attribute
rule when slot name contains_
.🐛 Bug Fixes
v-bind="object"
invue/attributes-order
rule.⚙️ Updates
vue-eslint-parser
to v7.5.0.This change fixes an issue that caused a crash when using some queries with
vue/no-restricted-syntax
rule.All commits: v7.5.0 -> v7.6.0
v7.5.0
Compare Source
✨ Enhancements
New Rules:
vue/no-constant-condition
rule appliesno-constant-condition
rule to expressions in<template>
,v-if
,v-show
andv-else-if
.vue/next-tick-style
rule that enforces whether the callback version or Promise version should be used inVue.nextTick
andthis.$nextTick
.vue/valid-next-tick
rule that enforce validnextTick
function calls.Other changes in Rules:
vue/no-ref-as-operand
rule fixable.🐛 Bug Fixes
computed()
support tovue/no-async-in-computed-properties
rule.computed()
support tovue/return-in-computed-property
rule.computed()
support tovue/no-side-effects-in-computed-properties
rule.vue/one-component-per-file
andvue/require-name-property
rules.vue/no-unused-properties
rule.⚙️ Updates
⚙️ Chores
vue/attributes-order
rule.vue/no-async-in-computed-properties
rule.All commits: v7.4.1 -> v7.5.0
v7.4.1
Compare Source
🐛 Bug Fixes
no-ref-as-operand
ruleAll commits: v7.4.0 -> v7.4.1
v7.4.0
Compare Source
✨ Enhancements
New Rules:
vue/no-restricted-call-after-await
rule that reports your restricted calls after theawait
expression.vue/v-on-event-hyphenation
rule that enforces using hyphenated v-on event names on custom components in Vue templates.vue/no-restricted-block
rule that allows you to specify block names that you don't want to use in your application.Other changes in Rules:
deepData
option tovue/no-unused-properties
rule.🐛 Bug Fixes
vue/no-unregistered-component
rule.v-bind="object"
syntax invue/attributes-order
rule.All commits: v7.3.0 -> v7.4.0
v7.3.0
Compare Source
✨ Enhancements
vue/new-line-between-multiline-property
rule that enforces new lines between multi-line properties.vue/no-restricted-props
rule that disallows prop names that you don't want to use.vue/no-restricted-custom-event
rule that disallows custom event names that you don't want to use.⚙️ Updates
All commits: v7.2.0 -> v7.3.0
v7.2.0
Compare Source
✨ Enhancements
vue/custom-event-name-casing
rule.⚙️ Updates
vue/custom-event-name-casing
rule from"plugin:vue/essential"
and"plugin:vue/vue3-essential"
configurations🐛 Bug Fixes
is
attr invue/valid-v-bind-sync
rule.vue/valid-v-slot
rulevue/valid-v-slot
andvue/valid-v-model
rulevue/no-arrow-functions-in-watch
rulevue/v-on-function-call
rule.All commits: v7.1.0 -> v7.2.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 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.