Linter to ensure consistency and detect problems in Gherkin language
MIT License
Bot releases are hidden (Show)
newline_before_scenario
rule to allow counting tags and comments as a new line (https://github.com/gherlint/gherlint/pull/114)
newline_before_scenario: ["error", 2, true];
no_but_in_given_when
- checks that But is not used in Given or When steps (https://github.com/gherlint/gherlint/pull/111)
no_but_in_given_when: ["warn"];
Published by ishabaral 5 months ago
-c, --config
- provide config file using gherlint command (https://github.com/gherlint/gherlint/pull/101)require_scenario
- enforces that a feature file has at least one scenario (https://github.com/gherlint/gherlint/pull/87)no_trailing_whitespace
- checks trailing whitespaces (https://github.com/gherlint/gherlint/pull/86)require_step
- ensures that a Background or a Scenario has at least one step (https://github.com/gherlint/gherlint/pull/88)no_repetitive_step_keyword
- checks repetitive use of step keywords (https://github.com/gherlint/gherlint/pull/52)indentation
- checks indentation of gherkin filesno_then_as_first_step
- checks that Then is not a first step in a Scenario or Scenario Outline (https://github.com/gherlint/gherlint/pull/89)only_given_step_in_background
- ensures that a Background has only a Given step (https://github.com/gherlint/gherlint/pull/92)newline_before_scenario
- checks for a new line before scenario (https://github.com/gherlint/gherlint/pull/94)lowercase_title
- ensures that a Feature, Rule, Background, Scenario and Scenario Outline has a lowercase title (https://github.com/gherlint/gherlint/pull/99)--fix
option to fix lint errors (https://github.com/gherlint/gherlint/pull/31)off
type also get reported (https://github.com/gherlint/gherlint/pull/96).gherlintrc.js
doesn't work from subfolder (https://github.com/gherlint/gherlint/pull/106)Published by ishabaral 5 months ago
-c, --config
- provide config file using gherlint command (https://github.com/gherlint/gherlint/pull/101)require_scenario
- enforces that a feature file has at least one scenario (https://github.com/gherlint/gherlint/pull/87)no_trailing_whitespace
- checks trailing whitespaces (https://github.com/gherlint/gherlint/pull/86)require_step
- ensures that a Background or a Scenario has at least one step (https://github.com/gherlint/gherlint/pull/88)no_repetitive_step_keyword
- checks repetitive use of step keywords (https://github.com/gherlint/gherlint/pull/52)indentation
- checks indentation of gherkin filesno_then_as_first_step
- checks that Then is not a first step in a Scenario or Scenario Outline (https://github.com/gherlint/gherlint/pull/89)only_given_step_in_background
- ensures that a Background has only a Given step (https://github.com/gherlint/gherlint/pull/92)newline_before_scenario
- checks for a new line before scenario (https://github.com/gherlint/gherlint/pull/94)lowercase_title
- ensures that a Feature, Rule, Background, Scenario and Scenario Outline has a lowercase title (https://github.com/gherlint/gherlint/pull/99)--fix
option to fix lint errors (https://github.com/gherlint/gherlint/pull/31)off
type also get reported (https://github.com/gherlint/gherlint/pull/96)Published by saw-jan 12 months ago
no_repetitive_step_keyword
- checks repetitive use of step keywords (https://github.com/gherlint/gherlint/pull/52)--fix
option to fix lint errors (https://github.com/gherlint/gherlint/pull/31)indentation
- checks indentation of gherkin filesPublished by saw-jan about 1 year ago
no_repetitive_step_keyword
- checks repetitive use of step keywords (https://github.com/gherlint/gherlint/pull/52)--fix
option to fix lint errors (https://github.com/gherlint/gherlint/pull/31)indentation
- checks indentation of gherkin filesPublished by saw-jan about 1 year ago
no_repetitive_step_keyword
- checks repetitive use of step keywords (https://github.com/gherlint/gherlint/pull/52)--fix
option to fix lint errors (https://github.com/gherlint/gherlint/pull/31)indentation
- checks indentation of gherkin filesPublished by saw-jan about 1 year ago
Published by saw-jan about 1 year ago