Releases: vuejs/eslint-plugin-vue
Releases · vuejs/eslint-plugin-vue
v8.6.0
✨ Enhancements
- #1811 Made
vue/component-tags-orderrule auto-fixable. - #1822 Added
vue/prefer-prop-type-boolean-firstrule that enforces thatBooleancomes first in component prop types - #1820 Added
vue/no-restricted-html-elementsrule that disallows specific HTML elements.
🐛 Bug Fixes
- #1826 Fixed false negatives for
<slot>invue/attribute-hyphenationrule.
Full Changelog: v8.5.0...v8.6.0
v8.5.0
✨ Enhancements
- #1796 Added
prefer-true-attribute-shorthandrule that forces thev-bindattribute withtruevalue to use the shorthand. - #1804 Added
vue/prefer-import-from-vuerule that aims to use imports from'vue'instead of imports from'@vue/*'.
Full Changelog: v8.4.1...v8.5.0
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