Update dependency eslint-plugin-vue to v9 #100
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.9.0
->^9.0.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v9.27.0
Compare Source
v9.26.0
Compare Source
v9.25.0
Compare Source
v9.24.1
Compare Source
v9.24.0
Compare Source
v9.23.0
Compare Source
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
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
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
meta
object to the processor.meta
object to the plugin.Full Changelog: vuejs/eslint-plugin-vue@v9.11.1...v9.12.0
v9.11.1
Compare Source
🐛 Bug Fixes
Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.10.0...v9.11.0
v9.10.0
Compare Source
✨ Enhancements
vue/no-template-target-blank
rule.⚙️ Updates
@eslint-community/eslint-utils
package.Full Changelog: vuejs/eslint-plugin-vue@v9.9.0...v9.10.0
v9.9.0
Compare Source
✨ Enhancements
vue/array-element-newline
rule that applies the corearray-element-newline
rule to expressions in<template>
.vue/script-indent
rule to support more TypeScript syntax.vue/padding-lines-in-component-definition
rule that requires or disallows padding lines in component definition.ATTR_DYNAMIC
,ATTR_STATIC
, andATTR_SHORTHAND_BOOL
options tovue/attributes-order
rule.🐛 Bug Fixes
vue/component-name-in-template-casing
rule.vue/component-api-style
rule report messages.vue/define-macros-order
rule to hoist secondary expressions correctly.<script setup>
invue/no-undef-components
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.8.0...v9.9.0
v9.8.0
Compare Source
✨ Enhancements
vue/require-prop-comment
rule that requires props to have a comment.vue/require-name-property
rule.🐛 Bug Fixes
<Textarea>
components invue/no-textarea-mustache
rule.vue/define-macros-order
rule.vue/component-name-in-template-casing
rule.vue/attribute-hyphenation
rule to disable autofix for attributes containing underscores (_
).Full Changelog: vuejs/eslint-plugin-vue@v9.7.0...v9.8.0
v9.7.0
Compare Source
✨ Enhancements
vue/multiline-ternary
rule that applies the coremultiline-ternary
rule to expressions in<template>
and<style>
.vue/v-on-handler-style
rule that enforces writing style for handlers inv-on
directives.globals
option tovue/component-name-in-template-casing
rule.vue/no-restricted-class
rule.⚙️ Updates
vue/v-on-function-call
rule. Use the newvue/v-on-handler-style
rule instead.Full Changelog: vuejs/eslint-plugin-vue@v9.6.0...v9.7.0
v9.6.0
Compare Source
✨ Enhancements
vue/no-required-prop-with-default
rule that enforces props with default values to be optional.consistent
option tovue/padding-line-between-tags
rule.🐛 Bug Fixes
vue/no-ref-as-operand
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.5.1...v9.6.0
v9.5.1
Compare Source
🐛 Bug Fixes
<script setup>
with TypeScript invue/no-undef-components
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.5.0...v9.5.1
v9.5.0
Compare Source
✨ Enhancements
vue/no-ref-object-destructure
rule that reports the destructuring of ref objects causing the value to lose reactivity.vue/no-undef-components
rule to report when type-only imports are used.vue/padding-line-between-tags
rule that requires or disallows newlines between sibling tags in template.vue/define-emits-declaration
rule that enforces the declaration style ofdefineEmits
.vue/define-props-declaration
rule that enforces the declaration style ofdefineProps
.⚙️ Updates
vue/order-in-components
rule to be auto-fixable even when usingPropType
.Full Changelog: vuejs/eslint-plugin-vue@v9.4.0...v9.5.0
Thanks @dev1437, @Amorites, @acupofspirt for your contributions!
v9.4.0
Compare Source
🐛 Bug Fixes
vue/no-mutating-props
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.3.0...v9.4.0
v9.3.0
Compare Source
⚙️ Updates
<script setup>
tovue/component-name-in-template-casing
rule.🐛 Bug Fixes
vue/custom-event-name-casing
,vue/no-restricted-custom-event
, andvue/require-explicit-emits
rules.Full Changelog: vuejs/eslint-plugin-vue@v9.2.0...v9.3.0
v9.2.0
Compare Source
⚙️ Updates
vue/no-unsupported-features
rule.Full Changelog: vuejs/eslint-plugin-vue@v9.1.1...v9.2.0
v9.1.1
Compare Source
🐛 Bug Fixes
vue/no-unused-components
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.1.0...v9.1.1
v9.1.0
Compare Source
🐛 Bug Fixes
vue/prefer-import-from-vue
rule to skip side-effect imports in.d.ts
files.Full Changelog: vuejs/eslint-plugin-vue@v9.0.1...v9.1.0
v9.0.1
Compare Source
🐛 Bug Fixes
vue/no-expose-after-await
ruleFull Changelog: vuejs/eslint-plugin-vue@v9.0.0...v9.0.1
v9.0.0
Compare Source
💥 Breaking Changes
vue/custom-event-name-casing
rule tocamelCase
.vue/html-closing-bracket-spacing
andvue/html-closing-bracket-newline
rules for top-level tags.Change Vue 3 presets configs
plugin:vue/vue3-essential
config:vue/no-child-content
rulevue/no-expose-after-await
rulevue/no-reserved-component-names
rulevue/no-use-computed-property-like-method
rulevue/no-v-text-v-html-on-component
rulevue/prefer-import-from-vue
rulevue/valid-attribute-name
ruleplugin:vue/vue3-strongly-recommended
config:plugin:vue/vue3-recommended
config:Change Vue 2 preset configs
plugin:vue/essential
config:vue/no-child-content
rulevue/no-reserved-component-names
rulevue/no-use-computed-property-like-method
rulevue/no-v-text-v-html-on-component
rulevue/valid-attribute-name
rulevue/valid-model-definition
rulevue/no-export-in-script-setup
rule *vue/no-ref-as-operand
rule *vue/no-setup-props-destructure
rule *vue/return-in-emits-validator
rule *vue/valid-define-emits
rule *vue/valid-define-props
rule *plugin:vue/strongly-recommended
config:plugin:vue/recommended
config:Note: The rules marked with * are now included in the
plugin:vue/essential
config because @vue/composition-api and unplugin-vue2-script-setup add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you.Deprecated features
vue/no-invalid-model-keys
rule is now deprecated, as it's renamed tovue/valid-model-definition
vue/script-setup-uses-vars
rule is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9vue/setup-compiler-macros
environment is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9Removed features
Previously deprecated rules are removed completely:
vue/experimental-script-setup-vars
rule (deprecated in v7.13.0): not needed anymorevue/name-property-casing
rule (deprecated in v7.0.0): usevue/component-definition-name-casing
insteadvue/no-confusing-v-for-v-if
rule (deprecated in v5.0.0): usevue/no-use-v-if-with-v-for
insteadvue/no-unregistered-components
rule (deprecated in v8.4.0): usevue/no-undef-components
insteadPreviously deprecated internal util methods are removed completely:
getComponentProps
: usegetComponentPropsFromOptions
insteadgetComponentEmits
: usegetComponentEmitsFromOptions
instead✨ Enhancements
vue/match-component-file-name
rule fixable via editor suggestions.<script setup>
invue/no-expose-after-await
rule.vue/valid-attribute-name
rule.🐛 Bug Fixes
vue/define-macros-order
rule when there are multiple<script>
tags.vue/html-closing-bracket-spacing
andvue/html-closing-bracket-newline
rules for top-level tags.Full Changelog: vuejs/eslint-plugin-vue@v8.7.0...v9.0.0
v8.7.1
Compare Source
🐛 Bug Fixes
vue/define-macros-order
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.7.0...v8.7.1
v8.7.0
Compare Source
✨ Enhancements
vue/component-tags-order
rule.vue/match-component-import-name
rule that requires the registered component name to match the imported component name.vue/define-macros-order
rule that enforces the order ofdefineEmits
anddefineProps
compiler macros.🐛 Bug Fixes
<script setup>
invue/multi-word-component-names
rule.<script setup>
with TS literal type invue/require-valid-default-prop
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.6.0...v8.7.0
v8.6.0
Compare Source
✨ Enhancements
vue/component-tags-order
rule auto-fixable.vue/prefer-prop-type-boolean-first
rule that enforces thatBoolean
comes first in component prop typesvue/no-restricted-html-elements
rule that disallows specific HTML elements.🐛 Bug Fixes
<slot>
invue/attribute-hyphenation
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.5.0...v8.6.0
v8.5.0
Compare Source
✨ Enhancements
prefer-true-attribute-shorthand
rule that forces thev-bind
attribute withtrue
value to use the shorthand.vue/prefer-import-from-vue
rule that aims to use imports from'vue'
instead of imports from'@​vue/*'
.Full Changelog: vuejs/eslint-plugin-vue@v8.4.1...v8.5.0
v8.4.1
Compare Source
🐛 Bug Fixes
vue/no-undef-components
rule.vue/no-unused-properties
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.4.0...v8.4.1
v8.4.0
Compare Source
✨ Enhancements
vue/no-v-text-v-html-on-component
rule that disallows the use ofv-text
/v-html
on component.vue/object-shorthand
rule that appliesobject-shorthand
rule to expressions in<template>
.vue/no-undef-components
rule that warns reports component that are used in the<template>
, but that are not defined in the<script setup>
or the Options API'scomponents
section.vue/quote-props
rule that appliesquote-props
rule to expressions in<template>
.vue/no-unused-properties
rule.vue/no-undef-properties
rule.🐛 Bug Fixes
vue/script-indent
rule.v-bind="obj"
withv-model
invue/attributes-order
rule.v-bind()
invue/no-extra-parens
rule.vue/valid-next-tick
rule.⚙️ Updates
vue/no-unregistered-components
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.3.0...v8.4.0
v8.3.0
Compare Source
🐛 Bug Fixes
<textarea>
without end tag invue/html-indent
rule.vue/require-explicit-emits
rule.⚙️ Updates
$set
and$nextTick
in computed properties.Full Changelog: vuejs/eslint-plugin-vue@v8.2.0...v8.3.0
v8.2.0
Compare Source
✨ Enhancements
vue/component-options-name-casing
rule that enforces the casing of component name incomponents
options.vue/prefer-separate-static-class
rule that requires static class names in template to be in a separateclass
attribute.🐛 Bug Fixes
vue/valid-define-emits
andvue/valid-define-props
rules.⚙️ Updates
vue/script-indent
rule.asyncData
invue/no-dupe-keys
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.1.1...v8.2.0
v8.1.1
Compare Source
🐛 Bug Fixes
vue/component-api-style
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.1.0...v8.1.1
v8.1.0
Compare Source
✨ Enhancements
vue/no-child-content
rule that reports child content of elements that have a directive which overwrites that child content.vue/no-expose-after-await
rule that reports theexpose()
afterawait
expression.composition-vue2
style option invue/component-api-style
rule.🐛 Bug Fixes
vue/no-export-in-script-setup
rule.v-bind.sync
invue/no-mutating-props
rule.vue/no-mutating-props
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.0.3...v8.1.0
v8.0.3
Compare Source
🐛 Bug Fixes
It upgrade fixes the wrong location in multiple
<script>
Full Changelog: vuejs/eslint-plugin-vue@v8.0.2...v8.0.3
v8.0.2
Compare Source
🐛 Bug Fixes
vue/multi-word-component-names
ruleFull Changelog: vuejs/eslint-plugin-vue@v8.0.1...v8.0.2
v8.0.1
Compare Source
🐛 Bug Fixes
vue/valid-next-tick
rule.Full Changelog: vuejs/eslint-plugin-vue@v8.0.0...v8.0.1
v8.0.0
Compare Source
💥 Breaking Changes
plugin:vue/vue3-essential
config.vue/no-deprecated-v-is
rule.vue/no-export-in-script-setup
rule.vue/valid-define-emits
rule.vue/valid-define-props
rule.vue/valid-next-tick
rule.vue/valid-v-memo
rule.vue/no-useless-template-attributes
rule.vue/no-computed-properties-in-data
rule.vue/multi-word-component-names
rule](https://eslint.vuejs.org/rules/multi-word-component-names.htmlConfiguration
📅 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.