You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/index.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,6 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
79
79
|[vue/no-reserved-component-names](./no-reserved-component-names.md)| disallow the use of reserved names in component definitions ||:three::two::hammer:|
|[vue/no-reserved-props](./no-reserved-props.md)| disallow reserved names in props ||:three::two::warning:|
82
-
|[vue/no-setup-props-destructure](./no-setup-props-destructure.md)| disallow destructuring of `props` passed to `setup`||:three::two::hammer:|
83
82
|[vue/no-shared-component-data](./no-shared-component-data.md)| enforce component's data property to be a function |:wrench:|:three::two::warning:|
84
83
|[vue/no-side-effects-in-computed-properties](./no-side-effects-in-computed-properties.md)| disallow side effects in computed properties ||:three::two::warning:|
85
84
|[vue/no-template-key](./no-template-key.md)| disallow `key` attribute on `<template>`||:three::two::warning:|
@@ -245,6 +244,7 @@ For example:
245
244
|[vue/no-restricted-static-attribute](./no-restricted-static-attribute.md)| disallow specific attribute ||:hammer:|
246
245
|[vue/no-restricted-v-bind](./no-restricted-v-bind.md)| disallow specific argument in `v-bind`||:hammer:|
247
246
|[vue/no-root-v-if](./no-root-v-if.md)| disallow `v-if` directives on root element ||:hammer:|
247
+
|[vue/no-setup-props-reactivity-loss](./no-setup-props-reactivity-loss.md)| disallow usages that lose the reactivity of `props` passed to `setup`||:hammer:|
Copy file name to clipboardExpand all lines: docs/rules/no-setup-props-destructure.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/no-setup-props-destructure
5
-
description: disallow destructuring of `props` passed to `setup`
5
+
description: disallow usages that lose the reactivity of `props` passed to `setup`
6
6
since: v7.0.0
7
7
---
8
8
# vue/no-setup-props-destructure
9
9
10
-
> disallow destructuring of `props` passed to `setup`
10
+
> disallow usages that lose the reactivity of `props` passed to `setup`
11
11
12
-
-:gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
12
+
-:no_entry_sign: This rule was **deprecated** and replaced by [vue/no-setup-props-reactivity-loss](no-setup-props-reactivity-loss.md) rule.
0 commit comments