chore(deps): update dependency eslint-plugin-vue to v10#484
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency eslint-plugin-vue to v10#484renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
81c62b3 to
9cf274d
Compare
9cf274d to
c1fb200
Compare
4dc37f2 to
3c295ca
Compare
3c295ca to
83e187e
Compare
3666e2c to
5074a72
Compare
5074a72 to
5ca4b72
Compare
5ca4b72 to
f198201
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.4.0→^10.0.0Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v10.7.0Compare Source
Minor Changes
-errorconfig variants, with all rules' severity set toerror:strongly-recommended-error,recommended-error,vue2-strongly-recommended-error,vue2-recommended-error(along with their flat config equivalents) (#2796)vue/no-literals-in-templaterule (#3000)vue/no-undef-directivesrule (#2990)ignoreEOLCommentsoption tovue/no-multi-spacesrule (#2989)vue/no-negated-v-if-conditionsuggestion to autofix (#2984)Patch Changes
vue/define-props-destructuringrule when imported types are passed todefineProps(#2995)DirectiveModifiers(#2996)nodeOpsandpatchProp(#2986)v10.6.2Compare Source
Patch Changes
vue/no-duplicate-class-namesand correctly detect duplicates in combining expressions (#2980)TSImportTypeinvue/script-indentrule (#2969)vue/prefer-use-template-ref(#2982)v10.6.1Compare Source
Patch Changes
<template>in vue/no-multiple-template-root rule (#2964)v10.6.0Compare Source
Minor Changes
Updated
vue/no-import-compiler-macrosto clarify that macros are not allowed outside<script setup>(#2938)Added new
vue/no-duplicate-class-namesrule (#2934)Patch Changes
Fixed
vue/no-v-htmlrule to allow ignoring call expressions (#2950)Improved
vue/define-macros-ordererror messages to distinguish between macro placement and ordering issues (#2953)Updated dependency postcss-selector-parser to v7.1.0 (#2947)
v10.5.1Compare Source
Patch Changes
vue/no-negated-v-if-conditionrule to swap entire elements (#2941)v10.5.0Compare Source
Minor Changes
ignoredObjectNamesoption tovue/no-async-in-computed-properties(#2927)ignorePatternoption tovue/no-v-html(#2857)sortLineLengthoption tovue/attributes-order(#2759)vue/component-name-in-template-casingglobalsoption to support regex patterns (#2928)vue/valid-define-optionsto allow local literal constant references (#2920)vue/no-mutating-propsandvue/no-side-effects-in-computed-propertiesrules to detectObject.assignmutations (#2929)@stylistic/eslint-pluginas optional peer dependency (#2884)Patch Changes
vue/define-macros-orderto ignore enum declarations anddeclarestatements (#2918)v10.4.0Compare Source
Minor Changes
ignoreParentsoption tovue/no-deprecated-slot-attribute(#2784)vue/no-negated-v-if-conditionrule (#2794)vue/no-negated-conditionrule (#2795)Patch Changes
vue/block-langerror messages (#2805)v10.3.0Compare Source
Minor Changes
@typescript-eslint/parseras an optional peer dependency (#2775)vue/no-deprecated-slot-attributeignoreoption now supports regex patterns (#2773)Patch Changes
vue/script-indentrule (#2775)vue/no-restricted-html-elementsnow also checks SVG and MathML elements (#2755)v10.2.0Compare Source
Minor Changes
Patch Changes
v10.1.0Compare Source
✨ Enhancements
allowlistoption ofvue/no-bare-strings-in-templaterule to accept regex.vue/define-props-destructuringrule that enforce consistent style for props destructuring.disallowCommentsoption tovue/no-multiple-template-rootrule.Full Changelog: vuejs/eslint-plugin-vue@v10.0.1...v10.1.0
v10.0.1Compare Source
🐛 Bug Fixes
.eslintrcconfigs.vue/prefer-use-template-refrule.vue/no-ref-as-operandrule.vue/require-default-proprule.vue/no-dupe-keysrule.⚙️ Updates
vue/no-export-in-script-setuprule.vue/html-self-closingrule.Full Changelog: vuejs/eslint-plugin-vue@v10.0.0...v10.0.1
v10.0.0Compare Source
💥 Breaking changes
^18.18.0 || ^20.9.0 || >=21.1.0^8.57.0 || ^9.0.0vue/block-orderrule to recommended configs (replaces the removedvue/component-tags-orderrule).vue/no-deprecated-delete-setrule to vue3-essential config.vue/no-deprecated-model-definitionrule to vue3-essential config.vue/no-required-prop-with-defaultrule to recommended configs.vue/valid-define-optionsrule to vue3-essential config..eslintrcconfigs (to matcheslint.config.jsconfig names; see PR for comparison)..eslintrcbase config so that vue-eslint-parser is only used for.vuefiles.slotsandexposeto the default order ofvue/order-in-componentsrule.vue/custom-event-name-casingrule.runOutsideVueoption fromvue/sort-keysrule.setup-compiler-macrosenvironments.✨ Enhancements
vue/no-import-compiler-macrosrule that disallows importing Vue compiler macros.exceptoption tovue/prefer-true-attribute-shorthandrule.defineNuxtComponent().⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.33.0...v10.0.0
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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.29.1...v9.30.0
v9.29.1Compare Source
🐛 Bug Fixes
Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.24.1...v9.25.0
v9.24.1Compare Source
⚙️ Updates
Full Changelog: vuejs/eslint-plugin-vue@v9.24.0...v9.24.1
v9.24.0Compare Source
✨ Enhancements
🐛 Bug Fixes
vue/no-restricted-classruleFull Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.21.1...v9.22.0
v9.21.1Compare Source
🐛 Bug Fixes
vue/no-unused-emit-declarationsrule.defineModelcalls invue/define-macros-orderrule.Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.20.1...v9.21.0
v9.20.1Compare Source
🐛 Bug Fixes
defineModelinvue/no-undef-propertiesrule.Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.19.2...v9.20.0
v9.19.2Compare Source
🐛 Bug Fixes
type-literaloption invue/define-emits-declarationruleFull Changelog: vuejs/eslint-plugin-vue@v9.19.1...v9.19.2
v9.19.1Compare Source
🐛 Bug Fixes
plugin:vue/vue3-strongly-recommendedFull Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.18.1...v9.19.0
v9.18.1Compare Source
🐛 Bug Fixes
<slot>,:key, andappearattribute invue/require-toggle-inside-transitionrule.Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.16.1...v9.17.0
v9.16.1Compare Source
🐛 Bug Fixes
@typescript-eslintv6 invue/script-indentruleFull Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.15.1...v9.16.0
v9.15.1Compare Source
🐛 Bug Fixes
vue/no-consolerule false positives outside the<template>block.Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.14.1...v9.15.0
v9.14.1Compare Source
🐛 Bug Fixes
toRefprops invue/no-dupe-keysrule.Full Changelog: vuejs/eslint-plugin-vue@v9.14.0...v9.14.1
v9.14.0Compare Source
✨ Enhancements
defineOptionsto [vue/no-duplicate-attr-inheritance](https://eslint.vuejs.org/rules/no-duplicate-attr-inheritaConfiguration
📅 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 is behind base branch, 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.