Skip to content

Releases: vuejs/eslint-plugin-vue

v8.0.0

29 Oct 02:35
Compare
Choose a tag to compare

💥 Breaking Changes

✨ Enhancements

Core:

  • #1685 Added setup-compiler-macros environment.

Rules:

🐛 Bug Fixes


Full Changelog: v7.20.0...v8.0.0

v7.20.0

20 Oct 04:40
Compare
Choose a tag to compare

✨ Enhancements

  • #1472 Added vue/no-undef-properties rule that warns of using undefined properties.
  • #1653 Added vue/no-computed-properties-in-data rule that disallow accessing computed properties in data().
  • #1659 Improved vue/no-use-computed-property-like-method rule reports.
  • #1661 Added vue/multi-word-component-names rule to enforce multiple words in component names.
  • #1663 Added vue/no-deprecated-router-link-tag-prop rule that disallow using deprecated tag property on <RouterLink>.

🐛 Bug Fixes

  • #1659 Fixed crash in vue/no-use-computed-property-like-method rule.
  • #1658 Fixed false positives for vars inside types in vue/valid-define-emits and vue/valid-define-props rules.

⚙️ Updates

  • #1654 Changed peer deps eslint ver from ^6.2.0 || ^7.0.0 || ^8.0.0-0 to ^6.2.0 || ^7.0.0 || ^8.0.0.

Full Changelog: v7.19.1...v7.20.0

v7.19.1

06 Oct 08:27
Compare
Choose a tag to compare

🐛 Bug Fixes

  • [83eab8d] Fixed false positives for vars inside functions in vue/valid-define-emits and vue/valid-define-props rules. Picked from #1652

Full Changelog: v7.19.0...v7.19.1

v7.19.0

05 Oct 02:31
Compare
Choose a tag to compare

✨ Enhancements

  • #1639 Added vue/no-restricted-class rule that reports the classes you don't want to allow in the template.
  • #1644 Added vue/no-useless-template-attributes rule that disallow useless attribute on <template> tags.

🐛 Bug Fixes

  • #1647 Fixed false positives for toRefs in vue/no-unused-properties rule.
  • #1648 Fixed unable to autofix event name with update:.

All commits: v7.18.0 -> v7.19.0

v7.18.0

17 Sep 10:40
Compare
Choose a tag to compare

✨ Enhancements

  • #1626 Added vue/component-api-style rule that aims to make the API style you use to define Vue components consistent in your project.

⚙️ Updates

  • #1619 Updated vue/script-indent rule to support Class static block and typescript-eslint v5(rc)
  • #1620 Changed type determination logic of type-only defineProps to follow vue v3.2.9.

All commits: v7.17.0 -> v7.18.0

v7.17.0

27 Aug 04:20
Compare
Choose a tag to compare

✨ Enhancements

  • #1605 Added vue/no-v-text rule that disallow v-text directive.

⚙️ 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

10 Aug 10:44
Compare
Choose a tag to compare

✨ Enhancements

  • #1596 Added vue/valid-v-memo rule that enforce valid v-memo directives.
  • #1599 Updated vue/no-unsupported-features rule to support Vue 3.2 syntaxes.

🐛 Bug Fixes

  • #1602 Fixed false positives for namespace component in vue/script-setup-uses-vars rule.

⚙️ Updates

  • #1598 Updated vue/no-restricted-v-bind and vue/valid-v-bind rules to support attr modifier.

All commits: v7.15.2 -> v7.16.0

v7.15.2

10 Aug 01:38
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #1600 Fixed false positives in vue/no-use-computed-property-like-method rule.

All commits: v7.15.1 -> v7.15.2

v7.15.1

03 Aug 01:34
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #1590 Fixed message typo in vue/no-reserved-keys rule.
  • #1591 Fixed false positives for type-only defineProps in vue/require-default-prop rule.

All commits: v7.15.0 -> v7.15.1

v7.15.0

30 Jul 07:14
Compare
Choose a tag to compare

✨ Enhancements

  • #1234 Added vue/no-use-computed-property-like-method rule that disallows to use computed property like method.
  • #1586 Added vue/block-lang rule rule that disallows the use of languages other than those available in the your application for the lang attribute of block elements.
  • #1576 Updated some rules to support style CSS variable injection.
    • vue/comma-spacing rule.
    • vue/dot-notation rule.
    • vue/eqeqeq rule.
    • vue/func-call-spacing rule.
    • vue/no-extra-parens rule.
    • vue/no-restricted-syntax rule.
    • vue/no-useless-concat rule.
    • vue/prefer-template rule.
    • vue/space-in-parens rule.
    • vue/space-infix-ops rule.
    • vue/space-unary-ops rule.
    • vue/template-curly-spacing rule.

🐛 Bug Fixes

  • #1584 Fixed false positives for call expression in vue/no-mutating-props rule.

⚙️ Updates

  • #1576 Upgraded vue-eslint-parser.

All commits: v7.14.0 -> v7.15.0