Open
Conversation
Contributor
Author
|
5907627 to
7622715
Compare
7622715 to
017c725
Compare
017c725 to
9c331ae
Compare
9c331ae to
16090dd
Compare
16090dd to
83c8513
Compare
e24cfd8 to
596d5b8
Compare
596d5b8 to
94dd7d2
Compare
a404cbc to
e9ab712
Compare
e9ab712 to
1e2bc80
Compare
1e2bc80 to
d2921a5
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:
9.20.1→10.7.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
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am 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.