-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update dependency eslint-plugin-vue to v9 #1005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/eslint-plugin-vue-9.x
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
1f4f316 to
610c88f
Compare
610c88f to
d37381f
Compare
d37381f to
4bd9c14
Compare
4bd9c14 to
8afdc05
Compare
301c700 to
b65d75d
Compare
b65d75d to
2e88543
Compare
2e88543 to
f382b39
Compare
f382b39 to
1fccc06
Compare
1fccc06 to
64c3732
Compare
64c3732 to
04aed38
Compare
04aed38 to
4dfeb8e
Compare
4dfeb8e to
e18c815
Compare
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:
7.19.1->9.17.0Release Notes
vuejs/eslint-plugin-vue (eslint-plugin-vue)
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
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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.11.1...v9.12.0
v9.11.1Compare Source
🐛 Bug Fixes
Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.10.0...v9.11.0
v9.10.0Compare Source
✨ Enhancements
vue/no-template-target-blankrule.⚙️ Updates
@eslint-community/eslint-utilspackage.Full Changelog: vuejs/eslint-plugin-vue@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: vuejs/eslint-plugin-vue@v9.8.0...v9.9.0
v9.8.0Compare Source
✨ Enhancements
vue/require-prop-commentrule that requires props to have a comment.vue/require-name-propertyrule.🐛 Bug Fixes
<Textarea>components invue/no-textarea-mustacherule.vue/define-macros-orderrule.vue/component-name-in-template-casingrule.vue/attribute-hyphenationrule to disable autofix for attributes containing underscores (_).Full Changelog: vuejs/eslint-plugin-vue@v9.7.0...v9.8.0
v9.7.0Compare Source
✨ Enhancements
vue/multiline-ternaryrule that applies the coremultiline-ternaryrule to expressions in<template>and<style>.vue/v-on-handler-stylerule that enforces writing style for handlers inv-ondirectives.globalsoption tovue/component-name-in-template-casingrule.vue/no-restricted-classrule.⚙️ Updates
vue/v-on-function-callrule. Use the newvue/v-on-handler-stylerule instead.Full Changelog: vuejs/eslint-plugin-vue@v9.6.0...v9.7.0
v9.6.0Compare Source
✨ Enhancements
vue/no-required-prop-with-defaultrule that enforces props with default values to be optional.consistentoption tovue/padding-line-between-tagsrule.🐛 Bug Fixes
vue/no-ref-as-operandrule.Full Changelog: vuejs/eslint-plugin-vue@v9.5.1...v9.6.0
v9.5.1Compare Source
🐛 Bug Fixes
<script setup>with TypeScript invue/no-undef-componentsrule.Full Changelog: vuejs/eslint-plugin-vue@v9.5.0...v9.5.1
v9.5.0Compare Source
✨ Enhancements
vue/no-ref-object-destructurerule that reports the destructuring of ref objects causing the value to lose reactivity.vue/no-undef-componentsrule to report when type-only imports are used.vue/padding-line-between-tagsrule that requires or disallows newlines between sibling tags in template.vue/define-emits-declarationrule that enforces the declaration style ofdefineEmits.vue/define-props-declarationrule that enforces the declaration style ofdefineProps.⚙️ Updates
vue/order-in-componentsrule to be auto-fixable even when usingPropType.Full Changelog: vuejs/eslint-plugin-vue@v9.4.0...v9.5.0
Thanks @dev1437, @Amorites, @acupofspirt for your contributions!
v9.4.0Compare Source
🐛 Bug Fixes
vue/no-mutating-propsruleFull Changelog: vuejs/eslint-plugin-vue@v9.3.0...v9.4.0
v9.3.0Compare Source
⚙️ Updates
<script setup>tovue/component-name-in-template-casingrule.🐛 Bug Fixes
vue/custom-event-name-casing,vue/no-restricted-custom-event, andvue/require-explicit-emitsrules.Full Changelog: vuejs/eslint-plugin-vue@v9.2.0...v9.3.0
v9.2.0Compare Source
⚙️ Updates
vue/no-unsupported-featuresrule.Full Changelog: vuejs/eslint-plugin-vue@v9.1.1...v9.2.0
v9.1.1Compare Source
🐛 Bug Fixes
vue/no-unused-componentsruleFull Changelog: vuejs/eslint-plugin-vue@v9.1.0...v9.1.1
v9.1.0Compare Source
🐛 Bug Fixes
vue/prefer-import-from-vuerule to skip side-effect imports in.d.tsfiles.Full Changelog: vuejs/eslint-plugin-vue@v9.0.1...v9.1.0
v9.0.1Compare Source
🐛 Bug Fixes
vue/no-expose-after-awaitruleFull Changelog: vuejs/eslint-plugin-vue@v9.0.0...v9.0.1
v9.0.0Compare Source
💥 Breaking Changes
vue/custom-event-name-casingrule tocamelCase.vue/html-closing-bracket-spacingandvue/html-closing-bracket-newlinerules for top-level tags.Change Vue 3 presets configs
plugin:vue/vue3-essentialconfig:vue/no-child-contentrulevue/no-expose-after-awaitrulevue/no-reserved-component-namesrulevue/no-use-computed-property-like-methodrulevue/no-v-text-v-html-on-componentrulevue/prefer-import-from-vuerulevue/valid-attribute-nameruleplugin:vue/vue3-strongly-recommendedconfig:plugin:vue/vue3-recommendedconfig:Change Vue 2 preset configs
plugin:vue/essentialconfig:vue/no-child-contentrulevue/no-reserved-component-namesrulevue/no-use-computed-property-like-methodrulevue/no-v-text-v-html-on-componentrulevue/valid-attribute-namerulevue/valid-model-definitionrulevue/no-export-in-script-setuprule *vue/no-ref-as-operandrule *vue/no-setup-props-destructurerule *vue/return-in-emits-validatorrule *vue/valid-define-emitsrule *vue/valid-define-propsrule *plugin:vue/strongly-recommendedconfig:plugin:vue/recommendedconfig:Note: The rules marked with * are now included in the
plugin:vue/essentialconfig because @vue/composition-api and unplugin-vue2-script-setup add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you.Deprecated features
vue/no-invalid-model-keysrule is now deprecated, as it's renamed tovue/valid-model-definitionvue/script-setup-uses-varsrule is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9vue/setup-compiler-macrosenvironment is now deprecated, as it's no longer needed with the upgrade to vue-eslint-parser to v9Removed features
Previously deprecated rules are removed completely:
vue/experimental-script-setup-varsrule (deprecated in v7.13.0): not needed anymorevue/name-property-casingrule (deprecated in v7.0.0): usevue/component-definition-name-casinginsteadvue/no-confusing-v-for-v-ifrule (deprecated in v5.0.0): usevue/no-use-v-if-with-v-forinsteadvue/no-unregistered-componentsrule (deprecated in v8.4.0): usevue/no-undef-componentsinsteadPreviously deprecated internal util methods are removed completely:
getComponentProps: usegetComponentPropsFromOptionsinsteadgetComponentEmits: usegetComponentEmitsFromOptionsinstead✨ Enhancements
vue/match-component-file-namerule fixable via editor suggestions.<script setup>invue/no-expose-after-awaitrule.vue/valid-attribute-namerule.🐛 Bug Fixes
vue/define-macros-orderrule when there are multiple<script>tags.vue/html-closing-bracket-spacingandvue/html-closing-bracket-newlinerules for top-level tags.Full Changelog: vuejs/eslint-plugin-vue@v8.7.0...v9.0.0
v8.7.1Compare Source
🐛 Bug Fixes
vue/define-macros-orderrule.Full Changelog: vuejs/eslint-plugin-vue@v8.7.0...v8.7.1
v8.7.0Compare Source
✨ Enhancements
vue/component-tags-orderrule.vue/match-component-import-namerule that requires the registered component name to match the imported component name.vue/define-macros-orderrule that enforces the order ofdefineEmitsanddefinePropscompiler macros.🐛 Bug Fixes
<script setup>invue/multi-word-component-namesrule.<script setup>with TS literal type invue/require-valid-default-proprule.Full Changelog: vuejs/eslint-plugin-vue@v8.6.0...v8.7.0
v8.6.0Compare Source
✨ Enhancements
vue/component-tags-orderrule auto-fixable.vue/prefer-prop-type-boolean-firstrule that enforces thatBooleancomes first in component prop typesvue/no-restricted-html-elementsrule that disallows specific HTML elements.🐛 Bug Fixes
<slot>invue/attribute-hyphenationrule.Full Changelog: vuejs/eslint-plugin-vue@v8.5.0...v8.6.0
v8.5.0Compare Source
✨ Enhancements
prefer-true-attribute-shorthandrule that forces thev-bindattribute withtruevalue to use the shorthand.vue/prefer-import-from-vuerule that aims to use imports from'vue'instead of imports from'@​vue/*'.Full Changelog: vuejs/eslint-plugin-vue@v8.4.1...v8.5.0
v8.4.1Compare Source
🐛 Bug Fixes
vue/no-undef-componentsrule.vue/no-unused-propertiesrule.Full Changelog: vuejs/eslint-plugin-vue@v8.4.0...v8.4.1
v8.4.0Compare Source
✨ Enhancements
vue/no-v-text-v-html-on-componentrule that disallows the use ofv-text/v-htmlon component.vue/object-shorthandrule that appliesobject-shorthandrule to expressions in<template>.vue/no-undef-componentsrule that warns reports component that are used in the<template>, but that are not defined in the<script setup>or the Options API'scomponentssection.vue/quote-propsrule that appliesquote-propsrule to expressions in<template>.vue/no-unused-propertiesrule.vue/no-undef-propertiesrule.🐛 Bug Fixes
vue/script-indentrule.v-bind="obj"withv-modelinvue/attributes-orderrule.v-bind()invue/no-extra-parensrule.vue/valid-next-tickrule.⚙️ Updates
vue/no-unregistered-componentsrule.Full Changelog: vuejs/eslint-plugin-vue@v8.3.0...v8.4.0
v8.3.0Compare Source
🐛 Bug Fixes
<textarea>without end tag invue/html-indentrule.vue/require-explicit-emitsrule.⚙️ Updates
$setand$nextTickin computed properties.Full Changelog: vuejs/eslint-plugin-vue@v8.2.0...v8.3.0
v8.2.0Compare Source
✨ Enhancements
vue/component-options-name-casingrule that enforces the casing of component name incomponentsoptions.vue/prefer-separate-static-classrule that requires static class names in template to be in a separateclassattribute.🐛 Bug Fixes
vue/valid-define-emitsandvue/valid-define-propsrules.⚙️ Updates
vue/script-indentrule.asyncDatainvue/no-dupe-keysrule.Full Changelog: vuejs/eslint-plugin-vue@v8.1.1...v8.2.0
v8.1.1Compare Source
🐛 Bug Fixes
vue/component-api-stylerule.Full Changelog: vuejs/eslint-plugin-vue@v8.1.0...v8.1.1
v8.1.0Compare Source
✨ Enhancements
vue/no-child-contentrule that reports child content of elements that have a directive which overwrites that child content.vue/no-expose-after-awaitrule that reports theexpose()afterawaitexpression.composition-vue2style option invue/component-api-stylerule.🐛 Bug Fixes
vue/no-export-in-script-setuprule.v-bind.syncinvue/no-mutating-propsrule.vue/no-mutating-propsrule.Full Changelog: vuejs/eslint-plugin-vue@v8.0.3...v8.1.0
v8.0.3Compare Source
🐛 Bug Fixes
It upgrade fixes the wrong location in multiple
<script>Full Changelog: vuejs/eslint-plugin-vue@v8.0.2...v8.0.3
v8.0.2Compare Source
🐛 Bug Fixes
vue/multi-word-component-namesruleFull Changelog: vuejs/eslint-plugin-vue@v8.0.1...v8.0.2
v8.0.1Compare Source
🐛 Bug Fixes
vue/valid-next-tickrule.Full Changelog: vuejs/eslint-plugin-vue@v8.0.0...v8.0.1
v8.0.0Compare Source
💥 Breaking Changes
plugin:vue/vue3-essentialconfig.vue/no-deprecated-v-isrule.vue/no-export-in-script-setuprule.vue/valid-define-emitsrule.vue/valid-define-propsrule.vue/valid-next-tickrule.vue/valid-v-memorule.vue/no-useless-template-attributesrule.vue/no-computed-properties-in-datarule.vue/multi-word-component-namesrule.vue/no-deprecated-router-link-tag-proprule.vue/no-reserved-propsrule.plugin:vue/vue3-strongly-recommendedconfig.vue/v-on-event-hyphenationrule.vue/first-attribute-linebreakrule.plugin:vue/vue3-recommendedconfig.plugin:vue/essentialconfig.vue/valid-next-tickrule.vue/no-useless-template-attributesrule.vue/no-computed-properties-in-datarule.vue/multi-word-component-namesrule.vue/no-reserved-propsrule.plugin:vue/strongly-recommendedconfig.vue/first-attribute-linebreakrule.plugin:vue/recommendedconfig.allowFirstLineoption of thevue/max-attributes-per-linerule.✨ Enhancements
Core:
setup-compiler-macrosenvironment.Rules:
vue/first-attribute-linebreakrule aims to enforce a consistent location for the first attribute.vue/no-reserved-propsrule that disallow reserved names to be used in props.vue/no-loss-of-precisionrule that appliesno-loss-of-precisionrule to expressions in<template>.ignoreoption tovue/multi-word-component-namesrule.asyncDatainvue/no-dupe-keys,vue/no-reserved-keys,vue/no-template-shadow,vue/no-undef-properties, andvue/no-unused-propertiesrules.🐛 Bug Fixes
vue/multi-word-component-namesrule.Full Changelog: vuejs/eslint-plugin-vue@v7.20.0...v8.0.0
v7.20.0Compare Source
✨ Enhancements
vue/no-undef-propertiesrule that warns of using undefined properties.vue/no-computed-properties-in-datarule that disallow accessing computed properties indata().vue/no-use-computed-property-like-methodrule reports.vue/multi-word-component-namesrule to enforce multiple words in component names.vue/no-deprecated-router-link-tag-proprule that disallow using deprecatedtagproperty on<RouterLink>.🐛 Bug Fixes
vue/no-use-computed-property-like-methodrule.vue/valid-define-emitsandvue/valid-define-propsrules.⚙️ Updates
^6.2.0 || ^7.0.0 || ^8.0.0-0to^6.2.0 || ^7.0.0 || ^8.0.0.Full Changelog: vuejs/eslint-plugin-vue@v7.19.1...v7.20.0
Configuration
📅 Schedule: Branch creation - "before 4am" (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 has been generated by Mend Renovate. View repository job log here.