Skip to content

chore(deps): update dependency eslint-plugin-vue to v7.13.0

RenovateBot requested to merge renovate/eslint-plugin-vue-7.x into master

This MR contains the following updates:

Package Type Update Change
eslint-plugin-vue (source) devDependencies minor 7.12.1 -> 7.13.0

Release Notes

vuejs/eslint-plugin-vue

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.

🐛 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.
  • #​1543 Updated vue/no-template-shadow rule to support setup().
  • #​1556 Updated vue/no-unused-refs rule to support setup().

Configuration

📅 Schedule: 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, check this box.

This MR has been generated by Renovate Bot.

Merge request reports

Loading