UNPKG

eslint-plugin-mocha

Version:

Eslint rules for mocha.

6 lines 424 B
import type { Rule } from 'eslint'; import { type AnyFunction, type Program } from '../ast/node-types.ts'; export type DirectStatementScope = Readonly<AnyFunction['body'] | Program>; export declare function isDirectStatementInScope(scopeNode: DirectStatementScope, node: Rule.Node): boolean; export declare function getTopLevelMochaExpression(node: Rule.Node): Rule.Node; //# sourceMappingURL=direct-mocha-statement.d.ts.map