Created by: dependabot[bot]
Bumps eslint-plugin-vue from 7.12.1 to 7.13.0.
Release notes
Sourced from eslint-plugin-vue's releases.
v7.13.0
✨ Enhancements
- Supports
<script setup>
- #1529 Added
vue/script-setup-uses-varsrule that will find variables in<script setup>used in\<template>and mark them as used.- #1559 Added
vue/no-export-in-script-setuprule that disallows ES export in<script setup>.- #1560 Added
vue/valid-define-propsrule that reportsdefinePropscompiler macros in the following cases:
definePropsare referencing locally declared variables.definePropshas both a literal type and an argument. e.g.defineProps<{/*props*/}>({/*props*/})definePropshas been called multiple times.- Props are defined in both
definePropsandexport default {}.- Props are not defined in either
definePropsorexport default {}.- #1561 Added
vue/valid-define-emitsrule that reportsdefineEmitscompiler macros in the following cases:
defineEmitsare referencing locally declared variables.defineEmitshas both a literal type and an argument. e.g.defineEmits<(e: 'foo')=>void>(['bar'])defineEmitshas been called multiple times.- Custom events are defined in both
defineEmitsandexport default {}.- Custom events are not defined in either
defineEmitsorexport default {}.- #1532, #1559 Upgraded
vue-eslint-parser.- Updated rules to support
<script setup>.
- #1531
vue/no-mutating-propsrule.- #1535
vue/no-reserved-keysrule.- #1533
vue/no-async-in-computed-propertiesrule.- #1534
vue/no-side-effects-in-computed-propertiesrule.- #1536
vue/require-prop-type-constructorrule.- #1539
vue/no-lifecycle-after-awaitrule.- #1538
vue/require-valid-default-proprule.- #1542
vue/return-in-emits-validatorrule.- #1545
vue/require-default-proprule.- #1540
vue/no-setup-props-destructurerule.- #1541
vue/no-watch-after-awaitrule.- #1543
vue/no-template-shadowrule.- #1544
vue/prop-name-casingrule.- #1546
vue/require-prop-typesrule.- #1548
vue/require-explicit-emitsrule.- #1549
vue/custom-event-name-casingrule.- #1550
vue/no-boolean-defaultrule.- #1551
vue/no-restricted-call-after-awaitrule.- #1552
vue/no-restricted-propsrule.- #1553
vue/no-unregistered-componentsrule.- #1554
vue/no-unsupported-featuresrule.- #1555
vue/no-unused-propertiesrule.- #1556
vue/no-unused-refsrule.- #1557
vue/require-emit-validatorrule.- #1558
vue/require-name-propertyrule.
🐛 Bug Fixes
- #1527 Changed the indent rule so that the union type has the same indent as the binary expression.
... (truncated)
Commits
-
0ee61cc7.13.0 -
3cda46bUpdate docs related to\<script setup>. (#1530) -
90cd61eAddvue/valid-define-emitsrule (#1561) -
9822094Addvue/no-export-in-script-setuprule (#1559) -
fbf0194Addvue/valid-define-propsrule (#1560) -
e5f0258Updatevue/require-name-propertyrule to support\<script setup>(#1558) -
1447444Updatevue/require-emit-validatorrule to support\<script setup>(#1557) -
4e575eaUpdatevue/no-unused-refsrule to supportsetup()and\<script setup>(#... -
fed7f4eUpdatevue/no-unused-propertiesrule to support\<script setup>(#1555) -
d47de39Updatevue/no-unsupported-featuresrule to support\<script setup>(#1554) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)