We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c538f8 + 56a0675 commit 3cf54c6Copy full SHA for 3cf54c6
docs/rules/catch-or-return.md
@@ -22,7 +22,7 @@ function doSomethingElse() {
22
myPromise.then(doSomething)
23
myPromise.then(doSomething, catchErrors) // catch() may be a little better
24
function doSomethingElse() {
25
- myPromise.then(doSomething)
+ return myPromise.then(doSomething)
26
}
27
```
28
0 commit comments