From e9c452669fdbc2e5409ae0859df0106a29d10c76 Mon Sep 17 00:00:00 2001 From: VijayKesharwani <122533719+VijayKesharwani@users.noreply.github.com> Date: Thu, 23 May 2024 12:05:14 +0530 Subject: [PATCH] Update .gherkin-lintrc --- .gherkin-lintrc | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.gherkin-lintrc b/.gherkin-lintrc index f4614fb5ec..fd60714c4f 100644 --- a/.gherkin-lintrc +++ b/.gherkin-lintrc @@ -24,5 +24,26 @@ "no-empty-background": "on", "scenario-size": ["on", { "steps-length": {"Background": 15, "Scenario": 15}}], "only-one-when": "on", - "allowed-tags": ["on", {"tags": ["@watch", "@wip"], "patterns": ["^@todo$"]}] + "allowed-tags": ["on", {"tags": ["@watch", "@wip"], "patterns": ["^@todo$"]}], + "file-name": ["on", {"style": "PascalCase"}], + "max-scenarios-per-file": ["on", {"maxScenarios": 10, "countOutlineExamples": true}], + "no-restricted-patterns": ["on", { + "Global": [ + "^globally restricted pattern" + ], + "Feature": [ + "poor description", + "validate", + "verify" + ], + "Background": [ + "show last response", + "a debugging step" + ], + "Scenario": [ + "show last response", + "a debugging step" + ] + }], + "required-tags": ["on", {"tags": ["^@issue:[1-9]\\d*$"], "ignoreUntagged": false}] }