gherkin-lint
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "gherkin-lint", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A Gherkin linter/validator written in javascript", | ||
@@ -5,0 +5,0 @@ "author": "Vasiliki Siakka", |
@@ -7,3 +7,3 @@ var rule = 'no-files-without-scenarios'; | ||
rule : rule, | ||
line : 0}; | ||
line : 1}; | ||
} | ||
@@ -10,0 +10,0 @@ } |
@@ -11,3 +11,3 @@ var fs = require('fs'); | ||
rule : rule, | ||
line : i + 1}); | ||
line : i + 2}); | ||
} | ||
@@ -14,0 +14,0 @@ } |
@@ -10,3 +10,3 @@ var rule = 'no-partially-commented-tag-lines'; | ||
rule : rule, | ||
line : parsedFile.location.line}); | ||
line : tag.location.line}); | ||
} | ||
@@ -13,0 +13,0 @@ }); |
@@ -7,3 +7,3 @@ var fs = require('fs'); | ||
var lines = fs.readFileSync(fileName).toString().split('\n'); | ||
var lineNo = 0; | ||
var lineNo = 1; | ||
lines.forEach(function(line) { | ||
@@ -10,0 +10,0 @@ if (line[line.length - 1] == ' ') { |
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
27136