gherkin-lint
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -44,4 +44,4 @@ 'use strict'; | ||
// indentation we need to subtract 1 | ||
if (--parsedLocation.column !== mergedConfiguration[type]) { | ||
errors.push({ message: 'Wrong indentation for "' + type + '", expected indentation level of ' + mergedConfiguration[type] + ', but got ' + parsedLocation.column, | ||
if (parsedLocation.column - 1 !== mergedConfiguration[type]) { | ||
errors.push({ message: 'Wrong indentation for "' + type + '", expected indentation level of ' + mergedConfiguration[type] + ', but got ' + (parsedLocation.column - 1), | ||
rule: rule, | ||
@@ -48,0 +48,0 @@ line: parsedLocation.line }); |
{ | ||
"name": "gherkin-lint", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "A Gherkin linter/validator written in javascript", | ||
@@ -27,2 +27,5 @@ "author": "Vasiliki Siakka", | ||
"name": "Simon St John-Green" | ||
}, | ||
{ | ||
"name": "Jonathan Hedstrom" | ||
} | ||
@@ -29,0 +32,0 @@ ], |
44603