chore(deps): update dependency eslint-plugin-vue to v9 #132
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:
8.7.1
->9.17.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
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
v9.15.0
Compare Source
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
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
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 has been generated by Mend Renovate. View repository job log here.