summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/.gherkin-lintrc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/pybind/mgr/dashboard/frontend/.gherkin-lintrc
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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}}]
+}