Skip to content

Commit cf4b5e6

Browse files
committed
fix
1 parent 31edbba commit cf4b5e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/apm/src/integrations/express.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { Integration, Transaction } from '@sentry/types';
44
import { logger } from '@sentry/utils';
55

6-
// tslint:disable: completed-docs
76
// Have to manually set types because we are using package-alias
87
interface Application {
98
use(...args: any): any;
@@ -16,7 +15,6 @@ type NextFunction = (...args: any) => any;
1615
interface Response {
1716
once(name: string, callback: () => void): void;
1817
}
19-
// tslint:enable: completed-docs
2018

2119
/**
2220
* Internal helper for `__sentry_transaction`
@@ -183,7 +181,7 @@ function wrapUseArgs(args: IArguments): unknown[] {
183181
* Patches original app.use to utilize our tracing functionality
184182
*/
185183
function instrumentMiddlewares(app: Application): Application {
186-
// tslint:disable-next-line: no-unbound-method
184+
// eslint-disable-next-line @typescript-eslint/unbound-method
187185
const originalAppUse = app.use;
188186
app.use = function(): any {
189187
return originalAppUse.apply(this, wrapUseArgs(arguments));

0 commit comments

Comments
 (0)