UNPKG

eslint-plugin-mocha

Version:

Eslint rules for mocha.

6 lines 362 B
import type { Rule } from 'eslint'; import type { FromSchema, JSONSchema } from 'json-schema-to-ts'; export type InferSchemaOption<TSchema extends JSONSchema> = FromSchema<TSchema>; export type GetRuleOption = <TOption>(context: Readonly<Rule.RuleContext>) => TOption; export declare const getRuleOption: GetRuleOption; //# sourceMappingURL=rule-options.d.ts.map