Skip to content

Commit 6eee97b

Browse files
committed
Fix lint
1 parent 4274a8f commit 6eee97b

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

library/sinks/ChildProcess.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-lines-per-function */
12
import { getContext } from "../agent/Context";
23
import { Hooks } from "../agent/hooks/Hooks";
34
import { InterceptorResult } from "../agent/hooks/InterceptorResult";

library/sinks/FileSystem.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-lines-per-function */
12
import { getContext } from "../agent/Context";
23
import { Hooks } from "../agent/hooks/Hooks";
34
import { InterceptorResult } from "../agent/hooks/InterceptorResult";
@@ -121,9 +122,7 @@ export class FileSystem implements Wrapper {
121122
this.patchedPromises = true;
122123
}
123124

124-
// eslint-disable-next-line max-lines-per-function
125125
wrap(hooks: Hooks) {
126-
// eslint-disable-next-line max-lines-per-function
127126
hooks.addBuiltinModule("fs").onRequire((exports, pkgInfo) => {
128127
const functions = this.getFunctions();
129128

library/sources/Fastify.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-lines-per-function */
12
import type { RouteOptions } from "fastify";
23
import { Hooks } from "../agent/hooks/Hooks";
34
import { Wrapper } from "../agent/Wrapper";

library/sources/HTTPServer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable max-lines-per-function */
12
import { Agent } from "../agent/Agent";
23
import { Hooks } from "../agent/hooks/Hooks";
34
import { wrapExport } from "../agent/hooks/wrapExport";

0 commit comments

Comments
 (0)