Releases: vuejs/eslint-plugin-vue
Releases Β· vuejs/eslint-plugin-vue
v8.4.1
π Bug Fixes
- #1782 Support template literal component names in
vue/no-undef-componentsrule. - #1790 Fixed false positives due to conflicts with other rules in
vue/no-unused-propertiesrule.
Full Changelog: v8.4.0...v8.4.1
v8.4.0
β¨ Enhancements
- #1760 Added
vue/no-v-text-v-html-on-componentrule that disallows the use ofv-text/v-htmlon component. - #1762 Added
vue/object-shorthandrule that appliesobject-shorthandrule to expressions in<template>. - #1763 Added
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. - #1769 Added
vue/quote-propsrule that appliesquote-propsrule to expressions in<template>. - #1761 Added support for Vue2 functional component to
vue/no-unused-propertiesrule. - #1761 Added support for Vue2 functional component to
vue/no-undef-propertiesrule.
π Bug Fixes
- #1770 Fixed false positives for import brace in
vue/script-indentrule. - #1771 Fixed false positives for
v-bind="obj"withv-modelinvue/attributes-orderrule. - #1775 Fixed false positives for CSS
v-bind()invue/no-extra-parensrule. - #1777 Skip conditional expressions in
vue/valid-next-tickrule.
βοΈ Updates
- #1763 Deprecated
vue/no-unregistered-componentsrule.
Full Changelog: v8.3.0...v8.4.0
v8.3.0
π Bug Fixes
- #1755 Fix crash on
<textarea>without end tag invue/html-indentrule. - #1756 Fix false positive for unknown emits definition in
vue/require-explicit-emitsrule.
βοΈ Updates
Full Changelog: v8.2.0...v8.3.0
v8.2.0
β¨ Enhancements
- #1725 Added
vue/component-options-name-casingrule that enforces the casing of component name incomponentsoptions. - #1729 Added
vue/prefer-separate-static-classrule that requires static class names in template to be in a separateclassattribute.
π Bug Fixes
- #1736 Fixed false positives for import binding in
vue/valid-define-emitsandvue/valid-define-propsrules.
βοΈ Updates
- #1719 Added support for TypeScript 4.5 to
vue/script-indentrule. - #1735 Changed to allow
asyncDatainvue/no-dupe-keysrule.
Full Changelog: v8.1.1...v8.2.0
v8.1.1
v8.1.0
β¨ Enhancements
- #1707 Added
vue/no-child-contentrule that reports child content of elements that have a directive which overwrites that child content. - #1712 Added
vue/no-expose-after-awaitrule that reports theexpose()afterawaitexpression. - #1703 Added
composition-vue2style option invue/component-api-stylerule.
π Bug Fixes
- #1713 Fixed false positives for type-only exports in
vue/no-export-in-script-setuprule. - #1715 Fixed false negatives for
v-bind.syncinvue/no-mutating-propsrule. - #1715 Fixed false positives for shadowed props in
vue/no-mutating-propsrule. - #1718 Fixed memory leak.
Full Changelog: v8.0.3...v8.1.0
v8.0.3
π Bug Fixes
- #1691 Upgrade vue-eslint-parser to use patch.
It upgrade fixes the wrong location in multiple<script>
Full Changelog: v8.0.2...v8.0.3
v8.0.2
π Bug Fixes
- #1689 Fixed false positive for filename in
vue/multi-word-component-namesrule
Full Changelog: v8.0.1...v8.0.2
v8.0.1
π Bug Fixes
- #1686 Fixed false positives for arrow return in
vue/valid-next-tickrule.
Full Changelog: v8.0.0...v8.0.1
v8.0.0
π₯ Breaking Changes
- #1588 Dropped supports Node.js v8-10, v13 and v15.
- #1664 Upgraded vue-eslint-parser to v8.0.0.
- Changed presets configs.
- Changed
plugin:vue/vue3-essentialconfig.- #1603 Added
vue/no-deprecated-v-isrule. - #1603 Added
vue/no-export-in-script-setuprule. - #1603 Added
vue/valid-define-emitsrule. - #1603 Added
vue/valid-define-propsrule. - #1603 Added
vue/valid-next-tickrule. - #1603 Added
vue/valid-v-memorule. - #1603 Added
vue/no-useless-template-attributesrule. - #1603 Added
vue/no-computed-properties-in-datarule. - #1603 Added
vue/multi-word-component-namesrule. - #1603 Added
vue/no-deprecated-router-link-tag-proprule. - #1678 Added
vue/no-reserved-propsrule.
- #1603 Added
- Changed
plugin:vue/vue3-strongly-recommendedconfig.- Same changes as above.
- #1603 Added
vue/v-on-event-hyphenationrule. - #1587 Added
vue/first-attribute-linebreakrule.
- Changed
plugin:vue/vue3-recommendedconfig.- Same changes as above.
- Changed
plugin:vue/essentialconfig. - Changed
plugin:vue/strongly-recommendedconfig.- Same changes as above.
- #1587 Added
vue/first-attribute-linebreakrule.
- Changed
plugin:vue/recommendedconfig.- Same changes as above.
- Changed
- #1587 Removed the
allowFirstLineoption of thevue/max-attributes-per-linerule.
β¨ Enhancements
Core:
- #1685 Added
setup-compiler-macrosenvironment.
Rules:
- #1587 Added
vue/first-attribute-linebreakrule aims to enforce a consistent location for the first attribute. - #1678 Added
vue/no-reserved-propsrule that disallow reserved names to be used in props. - #1680 Added
vue/no-loss-of-precisionrule that appliesno-loss-of-precisionrule to expressions in<template>. - #1681 Added
ignoreoption tovue/multi-word-component-namesrule. - #1679 Added support for Nuxt.js's
asyncDatainvue/no-dupe-keys,vue/no-reserved-keys,vue/no-template-shadow,vue/no-undef-properties, andvue/no-unused-propertiesrules.
π Bug Fixes
- #1684 Fixed false positives for non-vue file in
vue/multi-word-component-namesrule.
Full Changelog: v7.20.0...v8.0.0