mirror of
https://github.com/moodle/moodle.git
synced 2025-01-16 21:18:33 +01:00
bbb291ba2f
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.
25 lines
597 B
Plaintext
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"]
|
|
}
|