Releases: vuejs/eslint-plugin-vue
Releases Β· vuejs/eslint-plugin-vue
v9.11.1
v9.11.0
β¨ Enhancements
- #2101 Added
unreferencedOptionsoption tovue/no-unused-propertiesrule.
π Bug Fixes
- #2131 Fixed false negatives in
vue/camelcaserule when using ESLint >= v8.38.
Full Changelog: v9.10.0...v9.11.0
v9.10.0
β¨ Enhancements
- #2111 Added suggestions for
vue/no-template-target-blankrule.
βοΈ Updates
- #2112 Changed to use
@eslint-community/eslint-utilspackage.
Full Changelog: v9.9.0...v9.10.0
v9.9.0
β¨ Enhancements
- #2066 Added
vue/array-element-newlinerule that applies the corearray-element-newlinerule to expressions in<template>. - #2042 Improved
vue/script-indentrule to support more TypeScript syntax. - #2052 Added
vue/padding-lines-in-component-definitionrule that requires or disallows padding lines in component definition. - #2068 Added new
ATTR_DYNAMIC,ATTR_STATIC, andATTR_SHORTHAND_BOOLoptions tovue/attributes-orderrule.
π Bug Fixes
- #2069 Fixed false positive for type-only imports in
vue/component-name-in-template-casingrule. - #2070 Fixed spaces around comma in
vue/component-api-stylerule report messages. - #2071 Fixed
vue/define-macros-orderrule to hoist secondary expressions correctly. - #2073 Fixed false positives for circular references in
<script setup>invue/no-undef-componentsrule.
Full Changelog: v9.8.0...v9.9.0
v9.8.0
β¨ Enhancements
- #2019 Added
vue/require-prop-commentrule that requires props to have a comment. - #2034 Added suggestion for
vue/require-name-propertyrule.
π Bug Fixes
- #2024 Fixed false positives for
<Textarea>components invue/no-textarea-mustacherule. - #2040 Fixed false positives for exported interfaces/type declarations in
vue/define-macros-orderrule. - #2031 Fixed false positives for HTML tags when using HTML-like components in
vue/component-name-in-template-casingrule. - #2045 Fixed
vue/attribute-hyphenationrule to disable autofix for attributes containing underscores (_).
Full Changelog: v9.7.0...v9.8.0
v9.7.0
β¨ Enhancements
- #1996 Added
vue/multiline-ternaryrule that applies the coremultiline-ternaryrule to expressions in<template>and<style>. - #2009 Added
vue/v-on-handler-stylerule that enforces writing style for handlers inv-ondirectives. - #1989 Added
globalsoption tovue/component-name-in-template-casingrule. - #2013 Added support for regexp options to
vue/no-restricted-classrule.
βοΈ Updates
- #2009 Deprecated
vue/v-on-function-callrule. Use the newvue/v-on-handler-stylerule instead.
Full Changelog: v9.6.0...v9.7.0
v9.6.0
β¨ Enhancements
- #1943 Added
vue/no-required-prop-with-defaultrule that enforces props with default values ββto be optional. - #1982 Added
consistentoption tovue/padding-line-between-tagsrule.
π Bug Fixes
- #1988 Fixed false positives for uninitialized vars in
vue/no-ref-as-operandrule.
Full Changelog: v9.5.1...v9.6.0
v9.5.1
π Bug Fixes
- #1976 Fixed false positives for
<script setup>with TypeScript invue/no-undef-componentsrule.
Full Changelog: v9.5.0...v9.5.1
v9.5.0
β¨ Enhancements
- #1965 Added
vue/no-ref-object-destructurerule that reports the destructuring of ref objects causing the value to lose reactivity. - #1967 Changed
vue/no-undef-componentsrule to report when type-only imports are used. - #1966 Added
vue/padding-line-between-tagsrule that requires or disallows newlines between sibling tags in template. - #1968 Added
vue/define-emits-declarationrule that enforces the declaration style ofdefineEmits. - #1968 Added
vue/define-props-declarationrule that enforces the declaration style ofdefineProps.
βοΈ Updates
- #1955 Changed
vue/order-in-componentsrule to be auto-fixable even when usingPropType.
Full Changelog: v9.4.0...v9.5.0
Thanks @dev1437, @Amorites, @acupofspirt for your contributions!
v9.4.0
π Bug Fixes
- #1942 Fixed false negatives for delete operation in
vue/no-mutating-propsrule
Full Changelog: v9.3.0...v9.4.0