Skip to content

Update Gherkin linting rules #41

@eric-murray

Description

@eric-murray

Problem description
The current Gherkin linting rules include the following rule:
"new-line-at-eof": ["on", "no"],

This causes issues when the feature files are edited using the Github web editor.

Expected behaviour
Delete the rule so the linter does not care if the feature file ends with a new line or not

Alternative solution
Global or repository specific rules can be created to enforce common line ending standards
See https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings

Additional context
Windows and Linux use different line ending conventions

Metadata

Metadata

Assignees

No one assigned

    Labels

    correctionSomething needs to be corrected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions