File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Will also report if multiple `@returns` tags are present.
22
22
- ` forceReturnsWithAsync ` - By default ` async ` functions that do not explicitly
23
23
return a value pass this rule as an ` async ` function will always return a
24
24
` Promise ` , even if the ` Promise ` resolves to void. You can force all
25
- ` async ` functions to require return statements by setting
25
+ ` async ` functions to require ` @ return` documentation by setting
26
26
` forceReturnsWithAsync ` to ` true ` on the options object. This may be useful
27
27
for flagging that there has been consideration of return type. Defaults
28
28
to ` false ` .
Original file line number Diff line number Diff line change @@ -14435,7 +14435,7 @@ Will also report if multiple `@returns` tags are present.
14435
14435
- ` forceReturnsWithAsync ` - By default ` async ` functions that do not explicitly
14436
14436
return a value pass this rule as an ` async ` function will always return a
14437
14437
` Promise ` , even if the ` Promise ` resolves to void. You can force all
14438
- ` async ` functions to require return statements by setting
14438
+ ` async ` functions to require ` @ return` documentation by setting
14439
14439
` forceReturnsWithAsync ` to ` true ` on the options object. This may be useful
14440
14440
for flagging that there has been consideration of return type. Defaults
14441
14441
to ` false ` .
You can’t perform that action at this time.
0 commit comments