-
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 #304
base: master
Are you sure you want to change the base?
Conversation
Terraform Format and Style 🖌
|
9783b2b
to
d85eb2d
Compare
d85eb2d
to
5a82c95
Compare
e041a08
to
d910d8c
Compare
22e72ed
to
58fbd6f
Compare
58fbd6f
to
2576aa0
Compare
2576aa0
to
3bf5b32
Compare
3bf5b32
to
e04e74b
Compare
54f4523
to
36518ce
Compare
36518ce
to
3043f44
Compare
3043f44
to
27e40a5
Compare
263b902
to
9c71af3
Compare
9c71af3
to
c10e499
Compare
624d632
to
888324a
Compare
888324a
to
e354aab
Compare
9067bfe
to
cbae9d8
Compare
cbae9d8
to
d878c47
Compare
d878c47
to
e72761f
Compare
e72761f
to
acb782f
Compare
9538007
to
86c4529
Compare
86c4529
to
65cac77
Compare
14fb567
to
360c4a0
Compare
78857a2
to
84d6b85
Compare
84d6b85
to
53d6d56
Compare
506dfba
to
40b14f4
Compare
c0cd41b
to
21b2f7d
Compare
6ff24fa
to
f379a78
Compare
ceab6a3
to
84797c4
Compare
84797c4
to
701199f
Compare
701199f
to
47f0a21
Compare
47f0a21
to
a2d1c47
Compare
4c77802
to
69da111
Compare
69da111
to
7045000
Compare
7045000
to
cf75f92
Compare
cf75f92
to
ee98c4b
Compare
ee98c4b
to
f8b1152
Compare
f8b1152
to
977e53b
Compare
977e53b
to
587c9bd
Compare
587c9bd
to
1067187
Compare
1067187
to
cd5d133
Compare
This PR contains the following updates:
8.7.1
->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
Configuration
📅 Schedule: Branch creation - "every weekday except on Monday,every weekend,before 5pm on Monday" (UTC), 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.