Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 24, 2024
1 parent 435985c commit 5586b8c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/DepthVisitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
Kind,
} from "graphql";

import { ErrorOperationLocation } from "./interfaces.js";
import { RuleError } from "./ruleError.js";
import type { RulesContext } from "./rulesContext.js";

Expand Down
2 changes: 1 addition & 1 deletion src/OperationPathsVisitor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ASTVisitor, Kind } from "graphql";
import type { ASTVisitor } from "graphql";

import type { RulesContext } from "./rulesContext";

Expand Down
1 change: 0 additions & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { ASTVisitor, GraphQLFormattedError } from "graphql";

import { TypeAndOperationPathInfo } from "./operationPaths";
import type { RulesContext } from "./rulesContext";

export interface WorkerData {
Expand Down
1 change: 1 addition & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async function main() {
config.plugins,
(p) => p.gqlcheck?.middleware,
(name, fn, _plugin) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
middleware.register(name, fn as any);
},
);
Expand Down

0 comments on commit 5586b8c

Please sign in to comment.