UNPKG

eslint-plugin-mocha

Version:

Eslint rules for mocha.

7 lines 619 B
import type { Rule } from 'eslint'; import { type CallbackHandlingContext, type CallbackHandlingOperation, type CallbackPathState } from './callback-handling-state.ts'; type PathState = CallbackPathState; type ReportedNodeSelector = (context: Readonly<CallbackHandlingContext>, pathState: Readonly<PathState>, operation: Readonly<CallbackHandlingOperation>) => Rule.Node | undefined; export declare function collectCallbackHandlingNodes(context: Readonly<CallbackHandlingContext>, selectReportedNode: ReportedNodeSelector): readonly Rule.Node[]; export {}; //# sourceMappingURL=callback-handling-node-collector.d.ts.map