Commit 76c0c54
dev: enable rule warn no-floating-promises and no-misused-promises
The rules are not enabled for spec and stories files. It may also be
useful to have the rules on in those files, but (1) calls to async
methods in fakeAsync do not need awaited, and (2) the IDE understands
toBe, toEqual, etc to return Promises.
Ideally the rules would mark occurrences as errors, but there are many
occurrences that first need to be cleaned up.1 parent 4d3a87c commit 76c0c54
File tree
2 files changed
+16
-0
lines changed- src
- RealtimeServer
- SIL.XForge.Scripture/ClientApp
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
0 commit comments