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
+57-22
Original file line number
Diff line number
Diff line change
@@ -2,46 +2,74 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/no-unused-properties
5
-
description: disallow unused properties, data and computed properties
5
+
description: disallow unused properties
6
6
---
7
7
# vue/no-unused-properties
8
-
> disallow unused properties, data and computed properties
8
+
> disallow unused properties
9
9
10
10
## :book: Rule Details
11
11
12
-
This rule disallows any unused properties, data and computed properties.
12
+
This rule is aimed at eliminating unused properties.
13
13
14
-
```vue
15
-
/* ✓ GOOD */
14
+
::: warning Note
15
+
This rule cannot be checked for use in other components (e.g. `mixins`, Property access via `$refs`) and use in places where the scope cannot be determined.
0 commit comments