gherkin-lint

A Gherkin linter/validator written in javascript

ISC License

Stars
172
Committers
33

Bot releases are visible (Hide)

gherkin-lint -

Published by vsiakka almost 7 years ago

  • Change the default behavior when a path to features hasn't been specified, to search the current directory instead (partially addressing issue #68)
  • Correctly identify directories as paths to features when the directory path doesn't end in a slash (addresses issue #71)
  • Improve error message for wrong path/pattern to features
gherkin-lint -

Published by vsiakka almost 7 years ago

Fix a bug where you were unable to turn of a rule whose configuration is an array

gherkin-lint -

Published by vsiakka almost 7 years ago

Allow passing custom rules directories, similar to the eslint --rulesdir option that will be searched for rules.

gherkin-lint -

Published by vsiakka almost 7 years ago

  • Add no-duplicate-tags rule
  • Improve cli help regarding the available formats
gherkin-lint -

Published by vsiakka almost 7 years ago

  • Add no-homogenous-tags rule
  • Add no-superflous-tags rule
gherkin-lint -

Published by vsiakka almost 7 years ago

  • Add node 8 and 7 to travis CI
  • Remove node 0.12 from travis CI
  • Fix a bug with the feature finder where it could pick up the same file twice and produce errors for duplicate feature/scenario names etc
gherkin-lint -

Published by vsiakka almost 7 years ago

No changes.

gherkin-lint -

Published by vsiakka almost 7 years ago

  • Indentation rule - Add support for scenario outlines and examples
gherkin-lint - v2.7.0

Published by vsiakka almost 7 years ago

  • Add one-space-between-tags rule
gherkin-lint - v1.1.1

Published by vsiakka about 8 years ago

  • Fixing no-trailing-spaces rule to also detect trailing tabs
  • Moving all the configuration parsing functionality from main.js into its own file
  • Moving all the feature-finding functionality from main.js into its own file
  • Making configuration parser log all the configuration errors instead of just the first one
  • Fixing a bug with the configuration parser where it wouldn't validated a configuration properly if the configuration of a rule was an array of 2 elements (eg new-line-at-eof rule)
  • Adding unit tests for configuration parser
gherkin-lint - v1.0.2

Published by vsiakka over 8 years ago

  • Fixed indentation rule for Scenario outlines
  • Added copy of ISC license
  • Replaced console.log with console error for printing errors
gherkin-lint - v1.1.0

Published by vsiakka over 8 years ago

Added no-scenario-outlines-without-examples

gherkin-lint - v1.0.1

Published by vsiakka over 8 years ago

Fixing no-empty-file rule which broke with v1.0.0

gherkin-lint - v1.0.0

Published by vsiakka over 8 years ago

Adding support for Gherkin 4

gherkin-lint - v0.1.1

Published by vsiakka over 8 years ago

Fix indentation rule reporting an error to every file that gets processed after a file with indentation rule violations

gherkin-lint - v0.1.2

Published by vsiakka over 8 years ago

Fixing incompatibility with node 0.12 (removing usage of String.endsWith() ;_;)

gherkin-lint - v0.1.3

Published by vsiakka over 8 years ago

  • Make all rules report on a 1-based line number
  • Fixing reported line number for partially commented out tag line
gherkin-lint - v0.1.0

Published by vsiakka over 8 years ago

Added rules for:

  • indentations
  • new line at eof
  • multiple empty lines
  • trailing whitespace
gherkin-lint - v0.0.15

Published by vsiakka over 8 years ago

  • Added rule for disallowing tags on backgrounds
  • Added rule for dissallowing partially commented out tag lines
  • Changed the module to ignore node_modules if no there is no ignore arg or ignore file
gherkin-lint - v0.0.13

Published by vsiakka over 8 years ago

Exit with non-0 exit code when detecting errors, so that if this is part of a prb the prb fails.