forked from openshift/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gherkin-lintrc
28 lines (28 loc) · 1.43 KB
/
.gherkin-lintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"no-files-without-scenarios" : "on",
"no-unnamed-features": "on",
"no-unnamed-scenarios": "on",
"no-dupe-scenario-names": ["on", "in-feature"],
"no-dupe-feature-names": "on",
"no-partially-commented-tag-lines": "on",
"indentation" : ["off", {"Feature": 0, "Background": 4, "Scenario": 4, "Step": 8, "Examples": 8, "example": 12, "given": 8, "when": 8, "then": 8, "and": 8, "but": 8, "feature tag": 0, "scenario tag": 4}],
"no-trailing-spaces": "on",
"new-line-at-eof": ["on", "yes"],
"no-multiple-empty-lines": "off",
"no-empty-file": "on",
"no-scenario-outlines-without-examples": "on",
"name-length": "off",
"allowed-tags": ["on", {"tags": ["@manual", "@regression", "@smoke", "@add-flow", "@topology", "@knative", "@guided-tour", "@gitops", "@helm", "@monitoring", "@pipelines", "@virtualization", "@web-terminal", "@vulnerability", "@knative-eventing", "@knative-camelK", "@kafka"]}],
"no-restricted-tags": ["on", {"tags": ["@watch", "@wip", "@debug", "@to-do"]}],
"use-and": "off",
"no-duplicate-tags": "on",
"no-superfluous-tags": "on",
"no-homogenous-tags": "on",
"one-space-between-tags": "on",
"no-unused-variables": "on",
"no-background-only-scenario": "on",
"no-empty-background": "on",
"scenario-size": ["on", { "steps-length": {"Background": 5, "Scenario": 15}}],
"max-scenarios-per-file": ["on", {"maxScenarios": 15, "countOutlineExamples": true}],
"file-name": ["on", {"style": "kebab-case"}]
}