-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(no-wait-for-side-effects): false positive inside
.then()
(#645)
* fix: no-wait-for-side-effects false positive inside .then() Added tests and a mention of edge case to rule documentation Closes #500 * fix: review feedback Remove awaits as the promise is waited by .then() * fix: review feedback Reuse existing helper function to make solution simpler * fix: review feedback Remove await as the promise is waited by .then() * fix: review feedback Remove await as the promise is waited by .then()
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters