summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/.gherkin-lintrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/.gherkin-lintrc')
-rw-r--r--src/pybind/mgr/dashboard/frontend/.gherkin-lintrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/.gherkin-lintrc b/src/pybind/mgr/dashboard/frontend/.gherkin-lintrc
new file mode 100644
index 000000000..706b93bea
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/.gherkin-lintrc
@@ -0,0 +1,33 @@
+{
+ "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": ["on", {
+ "Feature": 0,
+ "Background": 4,
+ "Scenario": 4,
+ "Step": 8,
+ "Examples": 8,
+ "example": 12
+ }],
+ "no-trailing-spaces": "on",
+ "new-line-at-eof": ["on", "yes"],
+ "no-multiple-empty-lines": "on",
+ "no-empty-file": "on",
+ "no-scenario-outlines-without-examples": "on",
+ "name-length": "off",
+ "no-restricted-tags": ["on", {"tags": ["@watch", "@wip"]}],
+ "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": "off",
+ "no-empty-background": "on",
+ "no-examples-in-scenarios": "on",
+ "scenario-size": ["on", { "steps-length": {"Background": 3, "Scenario": 15}}]
+}