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/no-unused-properties.md
+33-3
Original file line number
Diff line number
Diff line change
@@ -55,18 +55,20 @@ This rule cannot be checked for use in other components (e.g. `mixins`, Property
55
55
{
56
56
"vue/no-unused-properties": ["error", {
57
57
"groups": ["props"],
58
-
"deepData": false
58
+
"deepData": false,
59
+
"ignorePublicMembers": false
59
60
}]
60
61
}
61
62
```
62
63
63
-
-`"groups"` (`string[]`) Array of groups to search for properties. Default is `["props"]`. The value of the array is some of the following strings:
64
+
-`groups` (`string[]`) Array of groups to search for properties. Default is `["props"]`. The value of the array is some of the following strings:
64
65
-`"props"`
65
66
-`"data"`
66
67
-`"computed"`
67
68
-`"methods"`
68
69
-`"setup"`
69
-
-`"deepData"` (`boolean`) If `true`, the object of the property defined in `data` will be searched deeply. Default is `false`. Include `"data"` in `groups` to use this option.
70
+
-`deepData` (`boolean`) If `true`, the object of the property defined in `data` will be searched deeply. Default is `false`. Include `"data"` in `groups` to use this option.
71
+
-`ignorePublicMembers` (`boolean`) If `true`, members marked with a [JSDoc `/** @public */` tag](https://jsdoc.app/tags-public.html) will be ignored. Default is `false`.
70
72
71
73
### `"groups": ["props", "data"]`
72
74
@@ -188,6 +190,34 @@ This rule cannot be checked for use in other components (e.g. `mixins`, Property
0 commit comments