Releases: vuejs/eslint-plugin-vue
Releases Β· vuejs/eslint-plugin-vue
v7.20.0
β¨ Enhancements
- #1472 Added
vue/no-undef-propertiesrule that warns of using undefined properties. - #1653 Added
vue/no-computed-properties-in-datarule that disallow accessing computed properties indata(). - #1659 Improved
vue/no-use-computed-property-like-methodrule reports. - #1661 Added
vue/multi-word-component-namesrule to enforce multiple words in component names. - #1663 Added
vue/no-deprecated-router-link-tag-proprule that disallow using deprecatedtagproperty on<RouterLink>.
π Bug Fixes
- #1659 Fixed crash in
vue/no-use-computed-property-like-methodrule. - #1658 Fixed false positives for vars inside types in
vue/valid-define-emitsandvue/valid-define-propsrules.
βοΈ Updates
- #1654 Changed peer deps eslint ver from
^6.2.0 || ^7.0.0 || ^8.0.0-0to^6.2.0 || ^7.0.0 || ^8.0.0.
Full Changelog: v7.19.1...v7.20.0
v7.19.1
v7.19.0
β¨ Enhancements
- #1639 Added
vue/no-restricted-classrule that reports the classes you don't want to allow in the template. - #1644 Added
vue/no-useless-template-attributesrule that disallow useless attribute on<template>tags.
π Bug Fixes
- #1647 Fixed false positives for toRefs in
vue/no-unused-propertiesrule. - #1648 Fixed unable to autofix event name with
update:.
All commits: v7.18.0 -> v7.19.0
v7.18.0
β¨ Enhancements
- #1626 Added
vue/component-api-stylerule that aims to make the API style you use to define Vue components consistent in your project.
βοΈ Updates
- #1619 Updated
vue/script-indentrule to support Class static block and typescript-eslint v5(rc) - #1620 Changed type determination logic of type-only
definePropsto follow vue v3.2.9.
All commits: v7.17.0 -> v7.18.0
v7.17.0
β¨ Enhancements
- #1605 Added
vue/no-v-textrule that disallowv-textdirective.
βοΈ Updates
- #1607, #1610 Added support for ESLint v8 (beta).
Note that ESLint v8 beta support will be removed without notice once a stable version of ESLint v8 is released.
All commits: v7.16.0 -> v7.17.0
v7.16.0
β¨ Enhancements
- #1596 Added
vue/valid-v-memorule that enforce validv-memodirectives. - #1599 Updated
vue/no-unsupported-featuresrule to support Vue 3.2 syntaxes.
π Bug Fixes
- #1602 Fixed false positives for namespace component in
vue/script-setup-uses-varsrule.
βοΈ Updates
- #1598 Updated
vue/no-restricted-v-bindandvue/valid-v-bindrules to supportattrmodifier.
All commits: v7.15.2 -> v7.16.0
v7.15.2
v7.15.1
v7.15.0
β¨ Enhancements
- #1234 Added
vue/no-use-computed-property-like-methodrule that disallows to use computed property like method. - #1586 Added
vue/block-langrule rule that disallows the use of languages other than those available in the your application for thelangattribute of block elements. - #1576 Updated some rules to support style CSS variable injection.
vue/comma-spacingrule.vue/dot-notationrule.vue/eqeqeqrule.vue/func-call-spacingrule.vue/no-extra-parensrule.vue/no-restricted-syntaxrule.vue/no-useless-concatrule.vue/prefer-templaterule.vue/space-in-parensrule.vue/space-infix-opsrule.vue/space-unary-opsrule.vue/template-curly-spacingrule.
π Bug Fixes
- #1584 Fixed false positives for call expression in
vue/no-mutating-propsrule.
βοΈ Updates
- #1576 Upgraded vue-eslint-parser.
All commits: v7.14.0 -> v7.15.0
v7.14.0
β¨ Enhancements
- #1568 Added
vue/require-exposerule that enforces the component to explicitly declare the exposed properties to the component usingexpose. - #1566 Updated
vue/no-unused-propertiesrule to supportexpose - #1574 Updated some rules to support style CSS vars injection.
vue/no-parsing-errorrule.vue/no-unused-propertiesrule.vue/script-setup-uses-varsrule.vue/no-unsupported-featuresrule.
- #1565 Improved report location of
vue/valid-v-xxxrules.
π Bug Fixes
- #1569 Fixed false positives for
<script setup>invue/no-lifecycle-after-awaitrule. - #1569 Fixed false positives for
<script setup>invue/no-watch-after-awaitrule. - #1569 Fixed false positives for
<script setup>invue/no-restricted-call-after-awaitrule. - #1575 Downgraded to
semvercompatible with Node v8.
All commits: v7.13.0 -> v7.14.0