We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19f5bc commit 9716f7cCopy full SHA for 9716f7c
apps/oxlint/src-js/plugins/context.ts
@@ -9,7 +9,6 @@ export interface Diagnostic {
9
node: {
10
start: number;
11
end: number;
12
- [key: string]: unknown;
13
};
14
fix?: FixFn;
15
}
apps/oxlint/src-js/plugins/types.ts
@@ -11,7 +11,7 @@ export type { Visitor };
// Hook function that runs before traversal.
// If returns `false`, traversal is skipped for the rule.
-export type BeforeHook = () => boolean | undefined;
+export type BeforeHook = () => boolean | void;
16
// Hook function that runs after traversal.
17
export type AfterHook = () => void;
0 commit comments