Commit fc7cdaa
authored
chore: enable eslint rule to detect floating promises (#31)
A "floating" Promise is one that is created without any code set up to
handle any errors it might throw. Floating Promises can cause several
issues, such as improperly sequenced operations, ignored Promise
rejections, and more.1 parent d1f0c70 commit fc7cdaa
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
0 commit comments