-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency eslint-plugin-vue to v9 #64
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
51822a2
to
4641a9e
Compare
4641a9e
to
233c65f
Compare
233c65f
to
0fc20e0
Compare
0fc20e0
to
9561a9f
Compare
9561a9f
to
70bf4f2
Compare
70bf4f2
to
d27d482
Compare
18469f0
to
7de5dc8
Compare
41d7c21
to
a57c317
Compare
a57c317
to
a402387
Compare
35f1f7c
to
355d6fd
Compare
a8f8c43
to
d11d66a
Compare
9d07d17
to
ad8d369
Compare
5f44d7f
to
80ca448
Compare
80ca448
to
17c86b2
Compare
17c86b2
to
ca57d47
Compare
ca57d47
to
62a0ffa
Compare
abecff8
to
d6534ff
Compare
d6534ff
to
620eb9a
Compare
|
620eb9a
to
8ae2881
Compare
8ae2881
to
7fe7ae6
Compare
7fe7ae6
to
a7de6b5
Compare
a7de6b5
to
fa56561
Compare
fa56561
to
e1e2865
Compare
e1e2865
to
5c0a0fa
Compare
5c0a0fa
to
4490c76
Compare
This PR contains the following updates:
7.17.0
->9.32.0
Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v9.32.0
Compare Source
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
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
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.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.