Skip to content

Commit 86d85c6

Browse files
committed
add Options to docs
1 parent 99ac405 commit 86d85c6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/rules/computed-property-return.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,11 @@ export default {
3737

3838
## :wrench: Options
3939

40-
Nothing.
40+
This rule has an object option:
41+
- `"treatUndefinedAsUnspecified"`: `true` (default) allows implicitly returning undefined with a `return;` statement.
42+
43+
```
44+
vue/order-in-components: [2, {
45+
treatUndefinedAsUnspecified: true
46+
}]
47+
```

0 commit comments

Comments
 (0)