moodle/.gherkin-lintrc
Andrew Nicols bbb291ba2f MDL-66109 behat: Prevent the use of Examples in Scenarios
This change enables the Gherkin-lint rule to prevent the use of
"Examples" in a Scenario.

The Example tag is only allowed in a Scenario Outline at this time and
their use in a Scenario has no meaning.
2020-05-11 11:07:49 +08:00

25 lines
597 B
Plaintext

{
"indentation": ["on",{
"Feature": 0,
"Background": 2,
"Scenario": 2,
"Examples": 4,
"example": 6,
"Step": 4,
"given": 4,
"and": 4
}],
"no-dupe-feature-names": "on",
"no-dupe-scenario-names": "off",
"no-empty-file": "on",
"no-files-without-scenarios": "on",
"no-multiple-empty-lines": "on",
"no-partially-commented-tag-lines": "on",
"no-trailing-spaces": "on",
"no-unnamed-features": "on",
"no-unnamed-scenarios": "on",
"no-scenario-outlines-without-examples": "on",
"no-examples-in-scenarios": "on",
"new-line-at-eof": ["on", "yes"]
}