This repository was archived by the owner on Jun 13, 2021. It is now read-only.
chore(deps): update dependency eslint-plugin-vue to v7#32
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
4b7d529 to
17b09d2
Compare
17b09d2 to
b701486
Compare
b701486 to
792b1a7
Compare
792b1a7 to
5f98fb3
Compare
5f98fb3 to
586897e
Compare
586897e to
039cdfa
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
5.2.2->7.11.0Release Notes
vuejs/eslint-plugin-vue
v7.11.0Compare Source
✨ Enhancements
New Rules:
vue/no-this-in-before-route-enterrule that disallowthisusage in abeforeRouteEntermethod.vue/no-deprecated-v-isrule that disallow deprecatedv-isdirective (in Vue.js 3.1.0+).Other changes in Rules:
vue/no-deprecated-destroyed-lifecyclerule to auto-fixable.⚙️ Updates
is="vue:"(Vue 3.1.0+).All commits: v7.10.0 -> v7.11.0
v7.10.0Compare Source
✨ Enhancements
New Rules:
vue/require-emit-validatorrule that enforce the validator definition in emits.Other changes in Rules:
vue/this-in-templaterule to support autofix.⚙️ Updates
vue/attribute-hyphenationrule to ignore SVG attributes.All commits: v7.9.0 -> v7.10.0
v7.9.0Compare Source
✨ Enhancements
New Rules:
vue/no-invalid-model-keysrule that disallow invalid model option keys.vue/no-unused-refsrule that reports refs that are defined using therefattribute in<template>but are not used via$refs.Other changes in Rules:
singleline.allowFirstLineoption tovue/max-attributes-per-linerule.🐛 Bug Fixes
asexpression forvue/require-valid-default-proprule.All commits: v7.8.0 -> v7.9.0
v7.8.0Compare Source
✨ Enhancements
vue/require-direct-exportrule to allow more cases (e.g.export default defineComponent({})).vue/valid-v-showrule to disallowv-showin<template>tag.v7.7.0Compare Source
✨ Enhancements
Changes in Rules:
ignorePublicMembersoption tovue/no-unused-propertiesrule.🐛 Bug Fixes
$invue/this-in-templaterule.⚙️ Updates
vue-eslint-parserto v7.6.0.This makes the parser to case sensitive to the name used to determine the element when the file is SFC.
All commits: v7.6.0 -> v7.7.0
v7.6.0Compare Source
✨ Enhancements
New Rules:
vue/html-button-has-typerule.Other changes in Rules:
"SLOT"option tovue/attributes-orderrule to specifyv-slotorder.vue/attributes-orderrule.vue/component-tags-orderrule.vue/max-attributes-per-linerule.vue/new-line-between-multi-line-propertyrule.vue/no-bare-strings-in-templaterule.vue/no-duplicate-attributesrule.vue/no-potential-component-option-typorule.vue/no-reserved-component-namesrule.vue/no-use-v-if-with-v-forrule.vue/no-useless-mustachesrule.vue/no-useless-v-bindrule.vue/valid-v-slotrule.vue/no-deprecated-slot-attributerule when slot name contains_.🐛 Bug Fixes
v-bind="object"invue/attributes-orderrule.⚙️ Updates
vue-eslint-parserto v7.5.0.This change fixes an issue that caused a crash when using some queries with
vue/no-restricted-syntaxrule.All commits: v7.5.0 -> v7.6.0
v7.5.0Compare Source
✨ Enhancements
New Rules:
vue/no-constant-conditionrule appliesno-constant-conditionrule to expressions in<template>,v-if,v-showandv-else-if.vue/next-tick-stylerule that enforces whether the callback version or Promise version should be used inVue.nextTickandthis.$nextTick.vue/valid-next-tickrule that enforce validnextTickfunction calls.Other changes in Rules:
vue/no-ref-as-operandrule fixable.🐛 Bug Fixes
computed()support tovue/no-async-in-computed-propertiesrule.computed()support tovue/return-in-computed-propertyrule.computed()support tovue/no-side-effects-in-computed-propertiesrule.vue/one-component-per-fileandvue/require-name-propertyrules.vue/no-unused-propertiesrule.⚙️ Updates
⚙️ Chores
vue/attributes-orderrule.vue/no-async-in-computed-propertiesrule.All commits: v7.4.1 -> v7.5.0
v7.4.1Compare Source
🐛 Bug Fixes
no-ref-as-operandruleAll commits: v7.4.0 -> v7.4.1
v7.4.0Compare Source
✨ Enhancements
New Rules:
vue/no-restricted-call-after-awaitrule that reports your restricted calls after theawaitexpression.vue/v-on-event-hyphenationrule that enforces using hyphenated v-on event names on custom components in Vue templates.vue/no-restricted-blockrule that allows you to specify block names that you don't want to use in your application.Other changes in Rules:
deepDataoption tovue/no-unused-propertiesrule.🐛 Bug Fixes
vue/no-unregistered-componentrule.v-bind="object"syntax invue/attributes-orderrule.All commits: v7.3.0 -> v7.4.0
v7.3.0Compare Source
✨ Enhancements
vue/new-line-between-multiline-propertyrule that enforces new lines between multi-line properties.vue/no-restricted-propsrule that disallows prop names that you don't want to use.vue/no-restricted-custom-eventrule that disallows custom event names that you don't want to use.⚙️ Updates
All commits: v7.2.0 -> v7.3.0
v7.2.0Compare Source
✨ Enhancements
vue/custom-event-name-casingrule.⚙️ Updates
vue/custom-event-name-casingrule from"plugin:vue/essential"and"plugin:vue/vue3-essential"configurations🐛 Bug Fixes
isattr invue/valid-v-bind-syncrule.vue/valid-v-slotrulevue/valid-v-slotandvue/valid-v-modelrulevue/no-arrow-functions-in-watchrulevue/v-on-function-callrule.All commits: v7.1.0 -> v7.2.0
v7.1.0Compare Source
✨ Enhancements
New Rules:
vue/block-tag-newlinerule that enforces a line break (or no line break) after opening and before closing block tags.vue/array-bracket-newlinerule appliesarray-bracket-newlinerule to expressions in<template>.Other changes in Rules:
ignoresoption tovue/custom-event-name-casingrule.allowModifiersoption tovue/valid-v-slotrule.🐛 Bug Fixes
vue/no-unregistered-componentsrule.vue/no-unused-properties⚙️ Updates
⚙️ Chores
All commits: v7.0.1 -> v7.1.0
v7.0.1Compare Source
🐛 Bug Fixes
All commits: v7.0.0 -> v7.0.1
v7.0.0Compare Source
🚀 Highlight
💥 Breaking Changes
plugin:vue/baseconfig.jsx:truefrom shareable configs.parserOptions.ecmaVersionto 2020.vue/experimental-script-setup-varsrule.plugin:vue/essentialconfig.vue/valid-v-bind-syncrule.vue/valid-v-slotrule.vue/no-custom-modifiers-on-v-modelrule.vue/no-multiple-template-rootrule.vue/no-v-model-argumentrule.vue/no-mutating-propsrule.vue/no-arrow-functions-in-watchrule.vue/custom-event-name-casingrule.vue/no-dupe-v-else-ifrule.vue/no-v-for-template-keyrule.plugin:vue/strongly-recommendedconfig.vue/component-definition-name-casingrule.vue/v-slot-stylerule.vue/name-property-casingrule.vue/one-component-per-filerule.plugin:vue/recommendedconfig.vue/component-tags-orderrule.vue/no-multiple-slot-argsrule.vue/no-lone-templaterule.vue/name-property-casingrule to be deprecate.vue/order-in-componentsrule.emitsto afterprops.setupto afteremits.beforeUnmountandunmountedto LIFECYCLE_HOOKS.renderTrackedandrenderTriggeredto LIFECYCLE_HOOKS.provideandinjectto aftermixins.errorCapturedto LIFECYCLE_HOOKS.beforeRouteEnter,beforeRouteUpdateandbeforeRouteLeave) to afterprovide / inject(provide / injectwas added aftermixins).keyto aftername.layout,middleware,validate,scrollToTop,transition,loadingto after ROUTER_GUARDS (ROUTER_GUARDS was added afterprovide / inject).watchQueryto afterwatch.headmove from aftermethodsto afterdata.fetchmove from afterprops / propsDatato afterdata.✨ Enhancements
Core:
plugin:vue/essentialconfig.plugin:vue/strongly-recommendedconfig.plugin:vue/recommendedconfig.New Rulesets:
plugin:vue/vue3-essentialconfig.plugin:vue/vue3-strongly-recommendedconfig.plugin:vue/vue3-recommendedconfig.New Rules:
for Vue.js 3.x:
vue/no-deprecated-v-bind-syncrule that reports when deprecated.syncmodifier is used onv-binddirective. Related to RFC0005vue/no-deprecated-filterrule that reports usage of filters syntax removed in Vue.js 3.0.0+. Related to RFC0015vue/no-ref-as-operandrule that reports cases where a ref is used incorrectly as an operand. Related to RFC0013vue/no-setup-props-destructurerule that reports the destructuring of props passed to setup causing the value to lose reactivity. Related to RFC0013vue/no-lifecycle-after-awaitrule that reports the lifecycle hooks after await expression. Related to RFC0013vue/no-deprecated-v-on-number-modifiersrule that reports use of deprecatedKeyboardEvent.keyCodemodifier onv-ondirective. Related to RFC0014vue/no-deprecated-data-object-declarationrule that reports use of deprecated object declaration ondataproperty. Related to RFC0019vue/no-deprecated-events-apirule that reports use of deprecated$on,$offand$onceapi (removed in Vue.js v3.0.0+). Related to RFC0020vue/no-watch-after-awaitrule that reports thewatch()afterawaitexpression. RFC0013vue/require-toggle-inside-transitionrule that reports elements inside<transition>that do not control the display. Related to RFC0017vue/no-deprecated-inline-templaterule that reports deprecatedinline-templateattributes (removed in Vue.js v3.0.0+) Related to RFC0016vue/no-deprecated-html-element-isrule that reports deprecated the is attribute on HTML elements (removed in Vue.js v3.0.0+). Related to RFC0027vue/no-deprecated-vue-config-keycodesrule that reports use of deprecated Vue.config.keyCodes (removed in Vue.js 3.0.0+). Related to RFC0014vue/no-deprecated-functional-templaterule that reports deprecated the functional template (removed in Vue.js 3.0.0+). Related to RFC0007vue/require-explicit-emitsrule that reports event triggers not declared with the emits option. Related to RFC0030vue/return-in-emits-validatorrule enforces that a return statement is present in emits validators. Related to RFC0030vue/no-deprecated-v-on-native-modifierrule that reports use of deprecated.nativemodifier onv-ondirective. Related to RFC0031vue/no-deprecated-dollar-listeners-apirule that reports use of deprecated$listeners. Related to RFC0031vue/no-deprecated-dollar-scopedslots-apirule that reports use of deprecated$scopedSlots. Related to RFC0006vue/require-slots-as-functionsrule enforces the properties of $slots to be used as a function. Related to RFC0006vue/no-deprecated-destroyed-lifecyclerule reports use of deprecateddestroyedandbeforeDestroylifecycle hooks.vue/valid-v-isrule that reports wrong usage ofv-isdirectives.vue/no-v-for-template-key-on-childrule that reports the key of the<template v-for>placed on the child elements.vue/no-deprecated-props-default-thisrule that reports the use ofthiswithin the props default value factory functions.vue/experimental-script-setup-varsrule that prevent variables defined in<script setup>to be marked as undefined.for Vue.js 2.x:
vue/no-multiple-template-rootrule to template to check for a single root element. This rule has been separated from the previousvue/valid-template-rootrule.vue/no-v-model-argumentrule that does not allow argument to v-model.vue/no-custom-modifiers-on-v-modelrule that reports whenv-modelis used with custom modifiers on Vue Component.vue/no-v-for-template-keyrule that disallow the key placed on the<template v-for>. This rule has been separated from the previousvue/no-template-keyrule.Commons:
vue/no-template-no-target-blankrule that disallows usingtarget="_blank"attribute withoutrel="noopener noreferrer"to avoid a security vulnerability.vue/no-unregistered-componentsrule that disallow using components that are not registered inside templates.vue/html-comment-indentrule that enforce consistent indentation in HTML comments.vue/html-comment-content-newlinerule that enforce unified line brake in HTML comments.vue/html-comment-content-spacingrule that enforce unified spacing in HTML comments.vue/no-duplicate-attr-inheritancerule that warn to applyinheritAttrs: falsewhen it detectsv-bind="$attrs"being used.vue/no-unused-propertiesrule that report unused properties.vue/no-mutating-propsrule that reports mutation of component props.vue/one-component-per-filerule that checks if there is only one component per file.vue/no-potential-property-typorule that disallow a potential typo in your component options.vue/no-arrow-functions-in-watchrule that disallow use an arrow function to define a watcher.vue/custom-event-name-casingrule that enforces using kebab-case custom event names.vue/no-multiple-slot-argsrule disallows to pass multiple arguments to scoped slots.vue/no-bare-strings-in-templaterule that disallows the use of bare strings in<template>.vue/no-useless-v-bindrule that reportsv-bindwith a string literal value.vue/no-useless-mustachesrule that reports mustache interpolation with a string literal value.vue/no-restricted-v-bindrule that disallow specific argument inv-bind.vue/no-restricted-static-attributerule that disallow specific attribute.vue/no-restricted-component-optionsrule that disallow specific component options.vue/no-multiple-objects-in-classrule disallows to pass multiple objects into array to class.vue/no-empty-component-blockrule disallows the<template><script><style>block to be empty.vue/no-lone-templaterule that disallow unnecessary<template>element.vue/no-dupe-v-else-ifrule that disallow duplicate conditions inv-if/v-else-ifchains.vue/v-for-delimiter-stylerule that enforces which delimiter (inorof) should be used inv-fordirectives.Core Extends:
vue/comma-spacingrule that appliescomma-spacingrule to expressions in<template>.vue/prefer-templaterule that appliesprefer-templaterule to expressions in<template>.vue/template-curly-spacingrule that appliestemplate-curly-spacingrule to expressions in<template>.vue/space-in-parensrule that appliesspace-in-parensrule to expressions in<template>.vue/comma-stylerule that appliescomma-stylerule to expressions in<template>.vue/no-extra-parensrule that appliesno-extra-parensrule to expressions in<template>.vue/no-useless-concatrule that appliesno-useless-concatrule to expressions in<template>.vue/dot-notationrule that appliesdot-notationrule to expressions in<template>.vue/object-property-newlinerule that appliesobject-property-newlinerule to expressions in<template>.vue/object-curly-newlinerule that appliesobject-curly-newlinerule to expressions in<template>.vue/operator-linebreakrule that appliesoperator-linebreakrule to expressions in<template>.vue/func-call-spacingrule that appliesfunc-call-spacingrule to expressions in<template>.vue/no-sparse-arraysrule that appliesno-sparse-arraysrule to expressions in<template>.New Options:
ignorePatternoption tovue/no-unsed-varsrule to disables reporting of variable names that match the regular expression.disallowVueBuiltInComponentsanddisallowVue3BuiltInComponentsoption that reports Vue built-in component names to thevue/no-reserved-component-namesrule.reportUnusedDisableDirectivesoption tovue/comment-directive.closeBracket.startTag,closeBracket.endTagandcloseBracket.selfClosingTagoptions tovue/html-indentrule.So that the closeBracket offset value can be set for each tag type.
ignoreIncludesCommentoption tovue/v-on-function-callrule."v-model-argument"and"v-model-custom-modifiers"to the syntax checked by thevue/no-unsupported-featuresrule."v-is"to the syntax checked by thevue/no-unsupported-featuresrule.Other Changes in Rules:
for Vue.js 3.x:
vue/valid-template-rootrule.vue/valid-v-modelrule to allowv-modelargument. Related to RFC0011vue/valid-v-modelrule to allowv-modelcustom modifiers. Related to RFC0011vue/no-dupe-key,vue/no-reserved-keysrules to handlesetup.vue/require-direct-exportrule to allow Vue 3 functional component.vue/order-in-componentsrule.vue/attributes-orderrule to handlev-isasDEFINITIONcategory.vue/no-unregistered-componentsrule to handlev-islike:is.vue/no-unused-componentsrule to handlev-islike:is.slot-scopewhen"^3.0.0"is set invue/no-unsupported-featuresrule.vue/no-template-keyrule to allowv-forkey.vue/valid-v-forrule to not report when placing key on<template>.vue/require-v-for-keyrule to not report when placing key on<template>.Commons:
vue/name-property-casingrule to be deprecate.vue/no-side-effects-in-computed-propertiesrule to track thethisvariable.vue/require-valid-default-proprule to track thereturnstatement in thefunctiondefined indefault.vue/require-valid-default-proprule to checkBigInt.vue/require-valid-default-proprule.vue/html-indentrule to calculate the base point of the indent offset of the closing bracket of the end tag by the start tag.vue/order-in-componentsrule to understand "Nullish Coalescing".vue/valid-v-bind-sync,vue/valid-v-bind,vue/valid-v-else-if,vue/valid-v-for,vue/valid-v-html,vue/valid-v-if,vue/valid-v-model,vue/valid-v-on,vue/valid-v-show,vue/valid-v-slotandvue/valid-v-textrules.vue/component-tags-orderrule to allow name array to be specified with one order option.vue/component-tags-orderrule.vue/order-in-componentsrule.vue/html-indentandvue/script-indentrules.🐛 Bug Fixes
vue/v-on-function-callrule.v-forandv-slotmixed or use destructuring forvue/no-unused-varrule.vue/no-dupe-keysrule.vue/v-on-function-callrule.vue/prop-name-casingrule.isattribute with no value invue/no-unused-componentsrule.vue/require-valid-default-propandvue/require-default-proprules crash on sparse arrays.vue/no-side-effects-in-computedrule.All commits: v6.2.2 -> v7.0.0
v6.2.2Compare Source
🐛 Bug Fixes
vue/no-use-v-if-with-v-forerror when using destructuring for iteration or using iteration of expressionAll commits: v6.2.1 -> v6.2.2
v6.2.1Compare Source
🐛 Bug Fixes
alphabeticaloption.All commits: v6.2.0 -> v6.2.1
v6.2.0Compare Source
✨ Enhancements
New Rules:
vue/sort-keysrule that thesort-keysrule which is compatible with order-in-components.vue/padding-line-between-blocksrule requires or disallows blank lines between the given 2 blocks.New Options:
alphabeticaloption tovue/attributes-orderrule to alphabetical ordering within groupings.avoidEscapeoption tovue/html-quotesrule.🐛 Bug Fixes
vue/no-side-effects-in-computed-propertiesvue/require-default-prop.All commits: v6.1.2 -> v6.2.0
v6.1.2Compare Source
🐛 Bug Fixes
semverasdependenciesAll commits: v6.1.1 -> v6.1.2
v6.1.1Compare Source
🐛 Bug Fixes
no-reserved-component-names,match-component-file-nameandcomponent-definition-name-casingrulesAll commits: v6.1.0 -> v6.1.1
v6.1.0Compare Source
✨ Enhancements
Core:
New Rules:
vue/static-class-names-orderrule that enforce the order of static class names.vue/require-name-propertyrule that require a name property in Vue components.vue/no-reserved-component-namesrule that disallow the use of reserved names in component definitions.vue/component-tags-orderrule that enforce the order of component top-level elements.vue/component-definition-name-casingrule that enforce specific casing for component definition name.vue/valid-v-bind-syncrule that checks whether every.syncmodifier onv-binddirectives is valid.vue/no-deprecated-slot-attributerule that disallowsslotattribute.vue/no-deprecated-slot-scope-attributerule that disallowsslot-scopeattribute.vue/no-unsupported-featuresrule that disallow unsupported Vue.js syntax on the specified version.vue/no-static-inline-stylesrule that disallow static inlinestyleattributes.vue/max-lenrule that enforces a maximum line length.vue/no-irregular-whitespacerule that disallow irregular whitespace.🐛 Bug Fixes
html-indentdoes not workAll commits: v6.0.2 -> v6.1.0
v6.0.2Compare Source
🐛 Bug Fixes
no-async-in-computed-properties.require-prop-type-constructor.require-prop-type-constructor.All commits: v6.0.1 -> v6.0.2
v6.0.1Compare Source
🐛 Bug Fixes
v6.0.0Compare Source
💥 Breaking Changes
vue/prop-name-casing.Nuxtproperties to the default order ofvue/order-in-components.vue-eslint-parser@6.0.4✨ Enhancements
Core:
New Rules:
vue/no-empty-patternrule appliesno-empty-patternrule to expressions in<template>.vue/dot-locationrule appliesdot-locationrule to expressions in<template>.vue/keyword-spacingrule applieskeyword-spacingrule to expressions in<template>.vue/no-deprecated-scope-attributerule that reports deprecatedscopeattribute in Vue.js v2.5.0+.vue/valid-v-slotrule that checks whether everyv-slotdirective is valid.vue/v-slot-stylerule that enforcesv-slotdirective style which you should use shorthand or long form.🐛 Bug Fixes
vue/use-v-on-exactto allows events with different key codesvue/valid-v-elserule messageAll commits: v5.2.3 -> v6.0.0
v5.2.3Compare Source
🐛 Bug Fixes
082c03dfixed a crash bug on ESLint 6.0.0.Configuration
📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.