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-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 reportsdefineProps
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
andexport default {}
.- Props are not defined in either
defineProps
orexport default {}
.- #1561 Added
vue/valid-define-emits
rule that reportsdefineEmits
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
andexport default {}
.- Custom events are not defined in either
defineEmits
orexport 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.
... (truncated)
Commits
-
0ee61cc
7.13.0 -
3cda46b
Update docs related to\<script setup>
. (#1530) -
90cd61e
Addvue/valid-define-emits
rule (#1561) -
9822094
Addvue/no-export-in-script-setup
rule (#1559) -
fbf0194
Addvue/valid-define-props
rule (#1560) -
e5f0258
Updatevue/require-name-property
rule to support\<script setup>
(#1558) -
1447444
Updatevue/require-emit-validator
rule to support\<script setup>
(#1557) -
4e575ea
Updatevue/no-unused-refs
rule to supportsetup()
and\<script setup>
(#... -
fed7f4e
Updatevue/no-unused-properties
rule to support\<script setup>
(#1555) -
d47de39
Updatevue/no-unsupported-features
rule 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)