File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ async function gtagOnEvent(
185
185
// if not all entries in the 'send_to' field could be mapped to
186
186
// a FID. In these cases, wait on all pending initialization promises.
187
187
if ( initializationPromisesToWaitFor . length === 0 ) {
188
- /* eslint-disable @typescript-eslint/no-floating-promises */
188
+ /* eslint-disable-next-line @typescript-eslint/no-floating-promises */
189
189
initializationPromisesToWaitFor = Object . values (
190
190
initializationPromisesMap
191
191
) ;
Original file line number Diff line number Diff line change 17
17
18
18
import * as sinon from 'sinon' ;
19
19
import firebase from '@firebase/app-compat' ;
20
- /* eslint-disable import/no-extraneous-dependencies */
20
+ /* eslint-disable-next-line import/no-extraneous-dependencies */
21
21
import '@firebase/auth-compat' ;
22
22
import { Provider } from '@firebase/component' ;
23
23
import '../..' ;
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ export class AsyncQueueImpl implements AsyncQueue {
286
286
// Note that draining may generate more delayed ops, so we do that first.
287
287
return this . drain ( ) . then ( ( ) => {
288
288
// Run ops in the same order they'd run if they ran naturally.
289
- /* eslint-disable @typescript-eslint/no-floating-promises */
289
+ /* eslint-disable-next-line @typescript-eslint/no-floating-promises */
290
290
this . delayedOperations . sort ( ( a , b ) => a . targetTimeMs - b . targetTimeMs ) ;
291
291
292
292
for ( const op of this . delayedOperations ) {
@@ -311,8 +311,8 @@ export class AsyncQueueImpl implements AsyncQueue {
311
311
private removeDelayedOperation ( op : DelayedOperation < unknown > ) : void {
312
312
// NOTE: indexOf / slice are O(n), but delayedOperations is expected to be small.
313
313
const index = this . delayedOperations . indexOf ( op ) ;
314
- /* eslint-disable @typescript-eslint/no-floating-promises */
315
314
debugAssert ( index >= 0 , 'Delayed operation not found.' ) ;
315
+ /* eslint-disable-next-line @typescript-eslint/no-floating-promises */
316
316
this . delayedOperations . splice ( index , 1 ) ;
317
317
}
318
318
}
You can’t perform that action at this time.
0 commit comments