chore(deps): update dependency eslint-plugin-vue to v9.33.0 #9
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
Griefed/serverpackcreator-de!9
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/eslint-plugin-vue-9.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
9.8.0→9.33.0Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v9.33.0Compare Source
✨ Enhancements
vue/no-implicit-coercionrule to disallow shorthand type conversions in<template>.vue/no-ref-as-operandrule to checkemitpayloads.ignorePropsoption tovue/prop-name-casingrule.🐛 Bug Fixes
vue/prefer-use-template-refrule whensetupis an arrow function.vue/no-bare-strings-in-templaterule.vue/max-propsrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.32.0...v9.33.0
v9.32.0Compare Source
✨ Enhancements
checkMultiRootNodesoption tovue/no-duplicate-attr-inheritancerule and changed to ignore multi-root components by default.ignoreElementNamespacesoption tovue/no-v-text-v-html-on-componentrule.ignoreTagsoption tovue/attribute-hyphenationrule andvue/v-on-event-hyphenationrule.vue/restricted-component-namesrule that enforces using only specific component names.vue/slot-name-casingrule that enforces specific casing for slot names.vue/require-explicit-slotsrule.shallowRefinvue/prefer-use-template-refrule.🐛 Bug Fixes
vue/prefer-use-template-refrule to only check root-level variables.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.31.0...v9.32.0
v9.31.0Compare Source
✨ Enhancements
caseSensitiveoption tovue/no-reserved-component-namesrule.vue/prefer-use-template-refrule that requires usinguseTemplateRef()instead ofref()for template refs.vue/no-empty-component-blockrule auto-fixable.🐛 Bug Fixes
v-bind:nameinvue/require-explicit-slotsrule.⚙️ Updates
vue/define-macros-orderrule to skip TypeScriptdeclarestatements.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.30.0...v9.31.0
v9.30.0Compare Source
🐛 Bug Fixes
vue/custom-event-name-casingrule to checkdefineEmits()variable and$emit()in<template>.vue/require-valid-default-proprule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.29.1...v9.30.0
v9.29.1Compare Source
🐛 Bug Fixes
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.29.0...v9.29.1
v9.29.0Compare Source
✨ Enhancements
New Rules
vue/no-deprecated-delete-setrule that disallows using deprecated$deleteand$set.Others
vue/no-undef-propertiesrule.useTemplateRef()tovue/no-unused-refsrule.vue/require-valid-default-proprule.vue/require-default-proprule.vue/no-boolean-defaultrule.vue/no-required-prop-with-defaultrule.vue/no-restricted-propsrule.vue/no-setup-props-reactivity-lossrule.⚙️ Updates
.tsxfiles.v9.28.0Compare Source
✨ Enhancements
New Rules
vue/max-propsrule that enforces the maximum number of props in Vue components.vue/require-default-exportrule that requires components to be thedefaultexport.vue/max-template-depthrule that enforces the maximum depth of<template>.New Features
vue/define-macros-orderrule.additionalDirectivesoption tovue/require-toggle-inside-transitionrule.🐛 Bug Fixes
vue/v-if-else-keyrule.vue/require-typed-object-proprule.v-modeldirective invue/attribute-hyphenationrule.vue/attribute-hyphenationrule to skipv-bind.sync.vue/no-deprecated-slot-attributerule to handlev-forwith dynamicslot.vue/no-deprecated-slot-attributerule to skip dynamic components.⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.27.0...v9.28.0
v9.27.0Compare Source
✨ Enhancements
vue/require-toggle-inside-transitionrule to understandv-bind:appear.🐛 Bug Fixes
vue/no-setup-props-reactivity-lossrule.⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.26.0...v9.27.0
v9.26.0Compare Source
✨ Enhancements
vue/component-name-in-template-casingvue/no-deprecated-html-element-isvue/no-undef-componentsvue/no-unused-componentsvue/script-setup-uses-vars(note that this rule is deprecated!)🐛 Bug Fixes
vue/require-default-proprule to ignore the spread and continue checking.vue/require-typed-refrule to ignore<script>blocks withoutlang="ts"in.vuefiles.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.25.0...v9.26.0
v9.25.0Compare Source
✨ Enhancements
vue/no-unused-propertiesrule.🐛 Bug Fixes
vue/no-use-computed-property-like-methodrule to understand logical expressions.vue/no-unused-propertiesrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0
v9.24.1Compare Source
⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1
v9.24.0Compare Source
✨ Enhancements
🐛 Bug Fixes
vue/no-restricted-classruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.23.0...v9.24.0
v9.23.0Compare Source
✨ Enhancements
vue/no-ref-as-operand).vue/order-in-componentswhen there may be side effects.🐛 Bug Fixes
vue/v-bind-stylerule.vue/v-for-delimiter-stylerule.⚙️ Updates
filter.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.22.0...v9.23.0
v9.22.0Compare Source
✨ Enhancements
vue/no-deprecated-slot-attributeto wrap<template v-slot>.vue/valid-v-modelrule.🐛 Bug Fixes
{{'<'}}invue/no-useless-mustachesrule.vue/no-setup-props-reactivity-lossrule.vue/require-explicit-slotsrule to recognize slot names enclosed in quotes.v-bindwith spaces invue/no-useless-v-bindrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.1...v9.22.0
v9.21.1Compare Source
🐛 Bug Fixes
vue/no-unused-emit-declarationsrule.defineModelcalls invue/define-macros-orderrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.21.0...v9.21.1
v9.21.0Compare Source
✨ Enhancements
vue/require-explicit-slotsrule that requires slots to be explicitly defined withdefineSlotsorslotscomponent option.vue/no-restricted-v-onrule that disallows specific arguments inv-on.sameNameShorthandoption tovue/v-bind-stylerule.⚙️ Updates
vue-eslint-parserto v9.4.2.v-bindsame-name shorthand invue/no-unused-property.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.1...v9.21.0
v9.20.1Compare Source
🐛 Bug Fixes
defineModelinvue/no-undef-propertiesrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.20.0...v9.20.1
v9.20.0Compare Source
✨ Enhancements
Added Support for Vue 3.4 🏀
v-bindsame-name shorthand.defineModelmacro.New Rules
vue/enforce-style-attributerule that enforces or forbids the use of thescopedandmoduleattributes in SFC top level<style>tags.New Options
allowlist option tovue/no-template-shadowrule.allowlist option tovue/no-v-text-v-html-on-componentrule.selfClosingTagoption tovue/html-closing-bracket-newlinerule.defineExposeLastoption tovue/define-macros-orderrule.Improvements
$props.<prop>tovue/no-unused-propertiesrule.vue/no-unused-propertiesrule.🐛 Bug Fixes
vue/no-unused-emit-declarationsrule to detect emits in template with<script setup>.vue/require-explicit-emitsrule to detect emits in template with<script setup>.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.2...v9.20.0
v9.19.2Compare Source
🐛 Bug Fixes
type-literaloption invue/define-emits-declarationruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.1...v9.19.2
v9.19.1Compare Source
🐛 Bug Fixes
plugin:vue/vue3-strongly-recommendedFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.19.0...v9.19.1
v9.19.0Compare Source
✨ Enhancements
New Rules
vue/no-unused-emit-declarationsrule that disallows unused emit declarations.vue/v-if-else-keyrule that requires key attribute for conditionally rendered repeated components.New Options
type-literaloption invue/define-emits-declarationrule.externalIgnoresoption invue/singleline-html-element-content-newlinerule.ignoreoption invue/no-deprecated-slot-attributerule.⚙️ Changes
vue/v-on-event-hyphenationrule to be auto-fixable by default in Vue 3.<template>to extend from ESLint Stylistic.⚙️ Updates
typeParametersgetter.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.1...v9.19.0
v9.18.1Compare Source
🐛 Bug Fixes
<slot>,:key, andappearattribute invue/require-toggle-inside-transitionrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.18.0...v9.18.1
v9.18.0Compare Source
🐛 Bug Fixes
vue/prefer-define-optionsrule to insertdefineOptionsafter import declaration.vue/require-toggle-inside-transitionrule.vue/component-name-in-template-casingto ignore elements in vue template syntax.⚙️ Updates
typeParameterswithtypeArguments.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.17.0...v9.18.0
v9.17.0Compare 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: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.1...v9.17.0
v9.16.1Compare Source
🐛 Bug Fixes
@typescript-eslintv6 invue/script-indentruleFull Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.16.0...v9.16.1
v9.16.0Compare Source
✨ Enhancements
vue/no-use-v-else-with-v-forrule that disallows usingv-else-if/v-elseon the same element asv-for.vue/require-typed-object-proprule that enforces adding type declarations to object props.vue/no-deprecated-model-definitionrule that disallows themodeldefinition, which is deprecated in Vue 3.🐛 Bug Fixes
vue/attribute-hyphenationrule when it would break props.⚙️ Updates
vue/html-self-closingrule.vue/no-setup-props-destructurerule (expect more lint issues!).vue/component-tags-ordertovue/block-order(the old rule is still included in the preset configs, but it is now deprecated).Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.1...v9.16.0
v9.15.1Compare Source
🐛 Bug Fixes
vue/no-consolerule false positives outside the<template>block.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.15.0...v9.15.1
v9.15.0Compare Source
✨ Enhancements
vue/no-consolerule that applies the coreno-consolerule to expressions in<template>.vue/require-macro-variable-namerule that requires a certain macro variable name.vue/require-typed-refrule that requiresrefandshallowReffunctions to be strongly typed.vue/no-restricted-component-namesrule that disallows specific component names.vue/max-lines-per-blockrule that enforces a maximum number of lines in Vue SFC blocks.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.1...v9.15.0
v9.14.1Compare Source
🐛 Bug Fixes
toRefprops invue/no-dupe-keysrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.14.0...v9.14.1
v9.14.0Compare Source
✨ Enhancements
defineOptionstovue/no-duplicate-attr-inheritancerule.<script setup>tovue/no-dupe-keysrule.🐛 Bug Fixes
additionalPropertiestovue/no-deprecated-router-link-tag-propschema.vue/no-undef-propertiesrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.13.0...v9.14.0
v9.13.0Compare Source
Support for Vue 3.3 "Rurouni Kenshin" 🎉
see https://blog.vuejs.org/posts/vue-3-3
✨ Enhancements
New Rules
vue/prefer-define-optionsrule that enforces use ofdefineOptionsinstead of default export.vue/valid-define-optionsrule that checks whetherdefineOptionscompiler macro is valid.Other Changes
defineOptionsanddefineSlotstovue/define-macros-orderrule.defineOptionsanddefineSlotstovue/no-unsupported-featuresrule.defineEmitstype syntax tovue/require-explicit-emitsrule.defineOptionstovue/component-definition-name-casingrule.defineOptionstovue/match-component-file-namerule.defineOptionstovue/multi-word-component-namesrule.defineOptionstovue/no-reserved-component-namesrule.defineOptionstovue/no-restricted-component-optionsrule.defineOptionstovue/order-in-componentsrule.defineOptionstovue/padding-lines-in-component-definitionrule.⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.12.0...v9.13.0
v9.12.0Compare Source
✨ Enhancements
shallowOnlyoption tovue/no-mutating-propsrule.vue/no-root-v-ifrule that disallows thev-ifdirective on the root element.⚙️ Updates
metaobject to the processor.metaobject to the plugin.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.1...v9.12.0
v9.11.1Compare Source
🐛 Bug Fixes
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.11.0...v9.11.1
v9.11.0Compare Source
✨ Enhancements
unreferencedOptionsoption tovue/no-unused-propertiesrule.🐛 Bug Fixes
vue/camelcaserule when using ESLint >= v8.38.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.10.0...v9.11.0
v9.10.0Compare Source
✨ Enhancements
vue/no-template-target-blankrule.⚙️ Updates
@eslint-community/eslint-utilspackage.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.9.0...v9.10.0
v9.9.0Compare Source
✨ Enhancements
vue/array-element-newlinerule that applies the corearray-element-newlinerule to expressions in<template>.vue/script-indentrule to support more TypeScript syntax.vue/padding-lines-in-component-definitionrule that requires or disallows padding lines in component definition.ATTR_DYNAMIC,ATTR_STATIC, andATTR_SHORTHAND_BOOLoptions tovue/attributes-orderrule.🐛 Bug Fixes
vue/component-name-in-template-casingrule.vue/component-api-stylerule report messages.vue/define-macros-orderrule to hoist secondary expressions correctly.<script setup>invue/no-undef-componentsrule.Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.8.0...v9.9.0
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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 CLI.