UNPKG

gherkin-lint-ts

Version:

Gherkin features linter written in Typescript

8 lines (7 loc) 580 B
import { Feature, File, ResultError, Rules } from "../types"; export declare function getAllRules(additionalRulesDirs?: string[]): Rules; export declare function getRule(rule: string, additionalRulesDirs?: string[]): any; export declare function doesRuleExist(rule: string, additionalRulesDirs?: string[]): boolean; export declare function isRuleEnabled(ruleConfig: any): boolean; export declare function isWarn(ruleConfig: any): boolean; export declare function runAllEnabledRules(feature: Feature, file: File, configuration: any, additionalRulesDirs?: string[]): ResultError[];