MDL-56519 behat: Re-organize rules matching order
authorRajesh Taneja <rajesh@moodle.com>
Fri, 23 Dec 2016 03:28:08 +0000 (11:28 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Tue, 3 Jan 2017 01:12:54 +0000 (09:12 +0800)
re-ordered rules to match gherkin-lint readme
https://github.com/vsiakka/gherkin-lint#available-rules

.gherkin-lintrc

index 04ef52b..9439956 100644 (file)
@@ -1,20 +1,20 @@
 {
-  "no-files-without-scenarios" : "on",
-  "no-unamed-features": "on",
-  "no-unamed-scenarios": "on",
-  "no-dupe-scenario-names": "off",
-  "no-dupe-feature-names": "on",
-  "no-partially-commented-tag-lines": "on",
   "indentation": ["on",{
     "Feature": 0,
     "Background": 2,
-    "Scenario": 0,
+    "Scenario": 2,
     "Step": 4,
     "given": 4,
     "and": 4
   }],
-  "no-trailing-spaces": "on",
-  "no-multiple-empty-lines": "on",
+  "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-unamed-features": "on",
+  "no-unamed-scenarios": "on",
   "no-scenario-outlines-without-examples": "on"
 }