Skip to content

Update dependency eslint-plugin-vue to v9

joola requested to merge renovate/eslint-plugin-vue-9.x into master

This MR contains the following updates:

Package Type Update Change
eslint-plugin-vue (source) devDependencies major ^7.12.1 -> ^9.0.0

Release Notes

vuejs/eslint-plugin-vue

v9.6.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.1...v9.6.0

v9.5.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.5.0...v9.5.1

v9.5.0

Compare Source

Enhancements

️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.4.0...v9.5.0

Thanks @​dev1437, @​Amorites, @​acupofspirt for your contributions!

v9.4.0

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.3.0...v9.4.0

v9.3.0

Compare Source

️ Updates

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.2.0...v9.3.0

v9.2.0

Compare Source

️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.1...v9.2.0

v9.1.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.1.0...v9.1.1

v9.1.0

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.1...v9.1.0

v9.0.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.0.0...v9.0.1

v9.0.0

Compare Source

💥 Breaking Changes

Change Vue 3 presets configs
Change Vue 2 preset configs

Note: The rules marked with * are now included in the plugin:vue/essential config because @​vue/composition-api and unplugin-vue2-script-setup add (limited) support for these Vue 3 features in Vue 2. If you don't use those libraries, enabling these rules shouldn't affect you.

Deprecated features
Removed features

Previously deprecated rules are removed completely:

Previously deprecated internal util methods are removed completely:

  • getComponentProps: use getComponentPropsFromOptions instead
  • getComponentEmits: use getComponentEmitsFromOptions instead

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v9.0.0

v8.7.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.7.0...v8.7.1

v8.7.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.6.0...v8.7.0

v8.6.0

Compare Source

Enhancements

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.5.0...v8.6.0

v8.5.0

Compare Source

Enhancements

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.1...v8.5.0

v8.4.1

Compare Source

🐛 Bug Fixes

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.4.0...v8.4.1

v8.4.0

Compare Source

Enhancements

🐛 Bug Fixes

️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.3.0...v8.4.0

v8.3.0

Compare Source

🐛 Bug Fixes

️ Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.0

v8.2.0

Compare Source

Enhancements

🐛 Bug Fixes

Updates

Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.1...v8.2.0

v8.1.1

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.1.0...v8.1.1

v8.1.0

Compare Source

Enhancements

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.3...v8.1.0

v8.0.3

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.2...v8.0.3

v8.0.2

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.1...v8.0.2

v8.0.1

Compare Source

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v8.0.0...v8.0.1

v8.0.0

Compare Source

💥 Breaking Changes

Enhancements

Core:

  • #​1685 Added setup-compiler-macros environment.

Rules:

🐛 Bug Fixes


Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.0

v7.20.0

Compare Source

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: https://github.com/vuejs/eslint-plugin-vue/compare/v7.19.1...v7.20.0

v7.19.1

Compare Source

🐛 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: https://github.com/vuejs/eslint-plugin-vue/compare/v7.19.0...v7.19.1

v7.19.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

🐛 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

Compare Source

🐛 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

Compare Source

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


All commits: v7.14.0 -> v7.15.0

v7.14.0

Compare Source

Enhancements

  • #​1568 Added vue/require-expose rule that enforces the component to explicitly declare the exposed properties to the component using expose.
  • #​1566 Updated vue/no-unused-properties rule to support expose
  • #​1574 Updated some rules to support style CSS vars injection.
    • vue/no-parsing-error rule.
    • vue/no-unused-properties rule.
    • vue/script-setup-uses-vars rule.
    • vue/no-unsupported-features rule.
  • #​1565 Improved report location of vue/valid-v-xxx rules.

🐛 Bug Fixes

  • #​1569 Fixed false positives for <script setup> in vue/no-lifecycle-after-await rule.
  • #​1569 Fixed false positives for <script setup> in vue/no-watch-after-await rule.
  • #​1569 Fixed false positives for <script setup> in vue/no-restricted-call-after-await rule.
  • #​1575 Downgraded to semver compatible with Node v8.

All commits: v7.13.0 -> v7.14.0

v7.13.0

Compare Source

Enhancements

  • Supports <script setup>
    • #​1529 Added vue/script-setup-uses-vars rule that will find variables in <script setup> used in <template> and mark them as used.
    • #​1559 Added vue/no-export-in-script-setup rule that disallows ES export in <script setup>.
    • #​1560 Added vue/valid-define-props rule that reports defineProps compiler macros in the following cases:
      • defineProps are referencing locally declared variables.
      • defineProps has both a literal type and an argument. e.g. defineProps<{/*props*/}>({/*props*/})
      • defineProps has been called multiple times.
      • Props are defined in both defineProps and export default {}.
      • Props are not defined in either defineProps or export default {}.
    • #​1561 Added vue/valid-define-emits rule that reports defineEmits compiler macros in the following cases:
      • defineEmits are referencing locally declared variables.
      • defineEmits has both a literal type and an argument. e.g. defineEmits<(e: 'foo')=>void>(['bar'])
      • defineEmits has been called multiple times.
      • Custom events are defined in both defineEmits and export default {}.
      • Custom events are not defined in either defineEmits or export default {}.
    • #​1532, #​1559 Upgraded vue-eslint-parser.
    • Updated rules to support <script setup>.
      • #​1531 vue/no-mutating-props rule.
      • #​1535 vue/no-reserved-keys rule.
      • #​1533 vue/no-async-in-computed-properties rule.
      • #​1534 vue/no-side-effects-in-computed-properties rule.
      • #​1536 vue/require-prop-type-constructor rule.
      • #​1539 vue/no-lifecycle-after-await rule.
      • #​1538 vue/require-valid-default-prop rule.
      • #​1542 vue/return-in-emits-validator rule.
      • #​1545 vue/require-default-prop rule.
      • #​1540 vue/no-setup-props-destructure rule.
      • #​1541 vue/no-watch-after-await rule.
      • #​1543 vue/no-template-shadow rule.
      • #​1544 vue/prop-name-casing rule.
      • #​1546 vue/require-prop-types rule.
      • #​1548 vue/require-explicit-emits rule.
      • #​1549 vue/custom-event-name-casing rule.
      • #​1550 vue/no-boolean-default rule.
      • #​1551 vue/no-restricted-call-after-await rule.
      • #​1552 vue/no-restricted-props rule.
      • #​1553 vue/no-unregistered-components rule.
      • #​1554 vue/no-unsupported-features rule.
      • #​1555 vue/no-unused-properties rule.
      • #​1556 vue/no-unused-refs rule.
      • #​1557 vue/require-emit-validator rule.
      • #​1558 vue/require-name-property rule.
  • #​1543 Updated vue/no-template-shadow rule to support setup().
  • #​1556 Updated vue/no-unused-refs rule to support setup().

🐛 Bug Fixes

  • #​1527 Changed the indent rule so that the union type has the same indent as the binary expression.

️ Updates

  • #​1528 Deprecated vue/experimental-script-setup-vars rule.

All commits: v7.12.1 -> v7.13.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by joola

Merge request reports