gherkin-lint
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "gherkin-lint", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A Gherkin linter/validator written in javascript", | ||
@@ -9,2 +9,5 @@ "author": "Vasiliki Siakka", | ||
"name": "Tim Brust" | ||
}, | ||
{ | ||
"name": "Oskar Pfeifer-Bley" | ||
} | ||
@@ -11,0 +14,0 @@ ], |
@@ -60,3 +60,3 @@ # Gherkin lint | ||
{ | ||
"indentation" : "on", { "feature": 0, "background": 0, "scenario": 0, "step": 2 } | ||
"indentation" : ["on", { "Feature": 0, "Background": 0, "Scenario": 0, "Step": 2 }] | ||
} | ||
@@ -63,0 +63,0 @@ ``` |
@@ -62,3 +62,3 @@ // Operations on rules | ||
var ruleObj = getRule(rule); | ||
var extraConfig = typeof(ruleConfig[1]) === String ? ruleConfig[1] : [ruleConfig[1]]; | ||
var extraConfig = typeof(ruleConfig[1]) === 'string' ? [ruleConfig[1]] : ruleConfig[1]; | ||
@@ -65,0 +65,0 @@ for (var subConfig in extraConfig) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27188