This repository was archived by the owner on Feb 4, 2024. It is now read-only.
Update dependency eslint-plugin-vue to v5 #488
Closed
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:
^4.5.0->^5.0.0Release Notes
vuejs/eslint-plugin-vue
v5.2.2Compare Source
🐛 Bug Fixes
vue/no-boolean-defaultrule to not crash if the option isdefault-falseand nodefaultproperty.v5.2.1Compare Source
🐛 Bug Fixes
vue/no-async-in-computed-propertiesto not crash onreturnstatements that have no value.v5.2.0Compare Source
✨ Enhancements
New Rules:
vue/v-on-function-callrule that enforces or forbids parentheses after method calls without arguments inv-ondirectives.vue/require-direct-exportrule that enforces the component to be directly exported.vue/no-boolean-defaultrule that disallows the default value of boolean properties.vue/match-component-file-namerule that verifies component name property to match its file name.vue/array-bracket-spacingrule that enforces consistent spacing inside array brackets in<template>.vue/eqeqeqrule that applieseqeqeqrule to expressions in<template>.vue/key-spacingrule that applieskey-spacingrule to expressions in<template>.vue/object-curly-spacingrule that appliesobject-curly-spacingrule to expressions in<template>.vue/space-infix-opsrule that appliesspace-infix-opsrule to expressions in<template>.vue/space-unary-opsrule that appliesspace-unary-opsrule to expressions in<template>.vue/no-restricted-syntaxrule that appliesno-restricted-syntaxrule to expressions in<template>.vue/arrow-spacingrule that appliesarrow-spacingrule to expressions in<template>.vue/block-spacingrule that appliesblock-spacingrule to expressions in<template>.vue/brace-stylerule that appliesbrace-stylerule to expressions in<template>.vue/camelcaserule that appliescamelcaserule to expressions in<template>.vue/comma-danglerule that appliescomma-danglerule to expressions in<template>.New Options:
registeredComponentsOnlyoption tovue/component-name-in-template-casingrule to ignore unknown elements.Other changes in Rules:
vue/order-in-componentsrule to recognize Nuxt-specific members.🐛 Bug Fixes
vue/multiline-html-element-content-newlinerule andvue/singleline-html-element-content-newlinerule to ignore inline elements by default.vue/no-async-in-computed-propertiesrule to allow await expression in nested scopes.vue/use-v-on-exactrule about false positives.vue-eslint-parser.v-ondirective correctly.slot-scopeattribute correctly.v-predirective.vue/no-unused-componentsrule to process computed properties properly.vue/require-default-proprule andvue/require-valid-default-proprule to process computed properties properly.vue/no-unused-componentsrule to process empty:isdirectives properly.All commits: v5.1.0...v5.2.0
v5.1.0Compare Source
🐛 Bug Fixes
vue/component-name-in-template-casingrule fromvue/strongly-recommendedpreset.vue/order-in-componentsrule, on Node.js 11.vue/html-indentrule.All commits: v5.0.0...v5.1.0
v5.0.0Compare Source
💥 Breaking Changes
orderoptions ofvue/attribute-orderrule."BINDING"was removed and"TWO_WAY_BINDING"and"OTHER_DIRECTIVES"were added.vue/html-closing-bracket-newlinerule.✨ Enhancements
Core:
slot-scopeattribute.--fix-typeoption of ESLint.New Rules:
vue/no-template-shadowrule.vue/component-name-in-template-casingrule.vue/no-spaces-around-equal-signs-in-attributerule.vue/no-unused-componentsrule.vue/require-prop-type-constructorrule.vue/multiline-html-element-content-newlinerule.vue/singleline-html-element-content-newlinerule.vue/use-v-on-exactrule.New Options:
orderoption ofvue/attribute-orderrule to allow multiple categories on the same order.ignoreWhenBindingPresentoption tovue/no-unused-componentsrule to prevent false positive by dynamic bindings.modifiersoption tovue/valid-v-onrule to support custom modifiers.ignorePropertiesoption tovue/no-multi-spacesrule to use vertical alignment style.baseIndentoption tovue/html-indentrule.Other changes in Rules:
vue/script-indentrule to not work on other than.vuefiles.vue/valid-v-onrule.vue/max-attributes-per-linerule.🐛 Bug Fixes
vue/script-indentrule to make correct indentations.v-ondirective without that argument to be parsed correctly.vue/require-default-proprule to ignore boolean properties.vue/html-self-closingandvue/component-name-in-template-casing.vue/order-in-componentsrule.vue/valid-v-modelrule.vue/valid-v-modelrule.vue/require-render-returnrule andvue/return-in-computed-propertyrule.<pre>elements invue/html-indentrule.vue/script-indentrule.vue/html-indentrule.<textarea>elements invue/html-indentrule.All commits: v4.7.1...v5.0.0
Renovate 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 if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.