@@ -315,7 +315,7 @@ export class Tracing implements Integration {
315315 }
316316 span . finish ( ) ;
317317 }
318- // tslint: disable-next-line: no-dynamic-delete
318+ // eslint- disable-next-line @typescript-eslint/ no-dynamic-delete
319319 delete Tracing . _activities [ id ] ;
320320 }
321321
@@ -698,7 +698,6 @@ export class Tracing implements Integration {
698698 }
699699
700700 Tracing . _performanceCursor = Math . max ( performance . getEntries ( ) . length - 1 , 0 ) ;
701- // tslint:enable: no-unsafe-any
702701 }
703702
704703 /**
@@ -792,7 +791,6 @@ export class Tracing implements Integration {
792791 }
793792 debugData [ 'Date.now()' ] = Date . now ( ) ;
794793 span . setData ( 'sentry_debug' , debugData ) ;
795- // tslint:enable: no-unsafe-any
796794 }
797795
798796 /**
@@ -945,12 +943,10 @@ function xhrCallback(handlerData: { [key: string]: any }): void {
945943 return ;
946944 }
947945
948- // tslint:disable-next-line: no-unsafe-any
949946 if ( ! handlerData || ! handlerData . xhr || ! handlerData . xhr . __sentry_xhr__ ) {
950947 return ;
951948 }
952949
953- // tslint:disable: no-unsafe-any
954950 const xhr = handlerData . xhr . __sentry_xhr__ ;
955951
956952 if ( ! Tracing . options . shouldCreateSpanForRequest ( xhr . url ) ) {
@@ -988,15 +984,13 @@ function xhrCallback(handlerData: { [key: string]: any }): void {
988984 }
989985 }
990986 }
991- // tslint:enable: no-unsafe-any
992987}
993988
994989/**
995990 * Creates breadcrumbs from fetch API calls
996991 */
997992// eslint-disable-next-line @typescript-eslint/no-explicit-any
998993function fetchCallback ( handlerData : { [ key : string ] : any } ) : void {
999- // tslint:disable: no-unsafe-any
1000994 if ( ! Tracing . options . traceFetch ) {
1001995 return ;
1002996 }
@@ -1043,7 +1037,6 @@ function fetchCallback(handlerData: { [key: string]: any }): void {
10431037 }
10441038 }
10451039 }
1046- // tslint:enable: no-unsafe-any
10471040}
10481041
10491042/**
0 commit comments