chore(deps): update devdependency eslint-plugin-vue to v10 - #157
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #157 +/- ##
===========================================
+ Coverage 90.24% 90.54% +0.29%
===========================================
Files 13 9 -4
Lines 2132 2125 -7
Branches 103 103
===========================================
Hits 1924 1924
+ Misses 203 196 -7
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
8d9e78a to
dbc3579
Compare
8f72730 to
3d5e16c
Compare
3d5e16c to
eab6d7f
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This PR contains the following updates:
^9.7.0→^10.11.1Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v10.11.1Compare Source
Patch Changes
vue/no-ref-object-reactivity-lossfalse negatives for values gotten in an immediately invoked function expression (IIFE) (#3115)vue/no-unused-propertiesfalse positive for props explicitly typed asnever(#3113)vue/require-default-propto no longer require a default value fordefineModel(#3138)v10.11.0Compare Source
Minor Changes
Added
defineModelsupport tovue/require-default-propandvue/require-valid-default-proprules (#3032)Added support for SFCs using
@nuxtjs/composition-api, which is now treated the same asvueor@vue/composition-api(#3100)Added new
vue/no-shadow-native-eventsrule (#2558)Patch Changes
Updated resources (HTML elements) (#3132)
Specified explicit
itemspolicies for array rule option schemas (#3112)Fixed
vue/use-v-on-exactto avoid reporting@keydown.stopwhen paired with an exact key-specific listener (#3082)Updated resources (HTML elements) (#3133)
v10.10.0Compare Source
v10.9.2Compare Source
Patch Changes
vue/custom-event-name-casingto check segments of colon-separated event names likeupdate:foo-bar(#3079)vue/one-component-per-fileto not report functions not imported from Vue (#3063)vue/prefer-import-from-vueto not report imports/exports of names that are not re-exported byvue(#3081)vue/return-in-computed-propertyandvue/require-render-returnto not report exhaustive switch statements when TypeScript type information is available (#3067)v10.9.1Compare Source
Patch Changes
vue-eslint-parserto fix parsing errors in Vue SFCs (#3075)v10.9.0Compare Source
Minor Changes
"inject"togroupsoption invue/no-unused-propertiesrule (#3052)ignoresoption tovue/no-literals-in-templaterule (#3072):single-line/:multi-linepseudo-classes invue/padding-line-between-tags(#3025)vue/prefer-v-modelrule (#3062)vue/prefer-single-event-payloadrule (#3058)Patch Changes
vue/no-irregular-whitespace(#3065)vue/max-len(#3066)vue/no-child-contentrule (#3068)AttrsandAllowedAttrstype definitions (#3059)geolocationHTML element andClassValueandInputAutoCompleteAttributeVue 3 export (#3040)v10.8.0Compare Source
Minor Changes
eslint-parser-vuev10.3.0) (#2962)Promisefunctions tovue/no-async-in-computed-properties(#3020)ignoreVBindObjectoption tovue/attributes-order(#3012)allowEmptyAliasoption tovue/valid-v-for(#3011)destructure: "only-when-assigned"option tovue/define-props-destructuringand changed default value fromdestructure: "always"todestructure: "only-when-assigned"(#3009)Patch Changes
vue/no-unused-varsto detect components passed as slot props (#3008)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>invue/no-multiple-template-rootrule (#2964)v10.6.0Compare Source
Minor Changes
vue/no-import-compiler-macrosto clarify that macros are not allowed outside<script setup>(#2938)vue/no-duplicate-class-namesrule (#2934)Patch Changes
vue/no-v-htmlrule to allow ignoring call expressions (#2950)vue/define-macros-ordererror messages to distinguish between macro placement and ordering issues (#2953)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
Configuration
📅 Schedule: (UTC)
🚦 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.