Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

gherkin-lint pre-commit stage does not support exclussions #694

Closed
@mdelapenya

Description

@mdelapenya

An example of how to run the lint excluding rules would be:

docker run -ti -v $(pwd):/src -w /src gherkin/lint **/*.feature --disable AvoidOutlineForSingleExample,TooClumsy,TooManySteps,TooManyDifferentTags,TooLongStep

UPDATE: yes, it's possible to use ARGS in the local hook to pass the variables

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:AutomationLabel for the Observability productivity teamenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions