File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ module.exports = {
59
59
] ,
60
60
// TODO (high-prio): Re-enable this after migration
61
61
'@sentry-internal/sdk/no-async-await' : 'off' ,
62
- // TODO (high-prio): Re-enable this after migration
63
- '@typescript-eslint/no-floating-promises' : 'off' ,
64
62
// TODO (medium-prio): Re-enable this after migration
65
63
'jsdoc/require-jsdoc' : 'off' ,
66
64
} ,
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export class EventBufferCompressionWorker implements IEventBuffer {
142
142
}
143
143
144
144
init ( ) : void {
145
- this . postMessage ( { id : this . id , method : 'init' , args : [ ] } ) ;
145
+ void this . postMessage ( { id : this . id , method : 'init' , args : [ ] } ) ;
146
146
__DEBUG_BUILD__ && logger . log ( '[Replay] Initialized compression worker' ) ;
147
147
}
148
148
Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ export class Replay implements Integration {
726
726
}
727
727
728
728
this . addUpdate ( ( ) => {
729
- this . createPerformanceSpans ( [ result as ReplayPerformanceEntry ] ) ;
729
+ void this . createPerformanceSpans ( [ result as ReplayPerformanceEntry ] ) ;
730
730
// Returning true will cause `addUpdate` to not flush
731
731
// We do not want network requests to cause a flush. This will prevent
732
732
// recurring/polling requests from keeping the replay session alive.
@@ -904,7 +904,7 @@ export class Replay implements Integration {
904
904
* called in an event handler for a user action that we consider as the user
905
905
* being "active" (e.g. a mouse click).
906
906
*/
907
- async triggerUserActivity ( ) : Promise < void > {
907
+ triggerUserActivity ( ) : void {
908
908
this . updateUserActivity ( ) ;
909
909
910
910
// This case means that recording was once stopped due to inactivity.
@@ -1039,7 +1039,7 @@ export class Replay implements Integration {
1039
1039
return ;
1040
1040
}
1041
1041
1042
- this . flushImmediate ( ) ;
1042
+ void this . flushImmediate ( ) ;
1043
1043
}
1044
1044
1045
1045
/**
You can’t perform that action at this time.
0 commit comments