gplint
Version:
A Gherkin linter/validator written in Javascript.
43 lines • 1.2 kB
TypeScript
import { GherkinData, RuleError, RuleSubConfig } from '../../types.js';
declare const Levels: {
Global: string;
Description: string;
Feature: string;
Rule: string;
Background: string;
Scenario: string;
Step: string;
Example: string;
ExampleHeader: string;
ExampleBody: string;
};
export declare const availableConfigs: {
[Levels.Global]: boolean;
[Levels.Description]: boolean;
[Levels.Feature]: boolean;
[Levels.Rule]: boolean;
[Levels.Background]: boolean;
[Levels.Scenario]: boolean;
[Levels.Step]: boolean;
[Levels.Example]: boolean;
[Levels.ExampleHeader]: boolean;
[Levels.ExampleBody]: boolean;
};
export declare function run({ feature }: GherkinData, configuration: RuleSubConfig<typeof availableConfigs>, { rule, caseMethod, errorMsg, }: {
rule: string;
caseMethod: () => string;
errorMsg: string;
}): RuleError[];
export declare const configurationDocumentation: ({
name: string;
type: string;
description: string;
default: boolean;
} | {
name: string;
type: string;
description: string;
default: string;
})[];
export {};
//# sourceMappingURL=_allow-all-case.d.ts.map