gherkin-lint

A Gherkin linter/validator written in javascript

ISC License

Stars
172
Committers
33

Bot releases are hidden (Show)

gherkin-lint - v4.2.4 Latest Release

Published by andrewnicols 10 months ago

What's Changed

  • Correct package.json repository entry

Full Changelog: https://github.com/gherkin-lint/gherkin-lint/compare/v4.2.3...v4.2.4

gherkin-lint - v4.2.3

Published by andrewnicols 10 months ago

What's Changed

Full Changelog: https://github.com/gherkin-lint/gherkin-lint/compare/v4.2.2...v4.2.3

gherkin-lint -

Published by vsiakka over 5 years ago

Bug fixes:

  • Fix allowed-tags rule not detecting violations in examples
  • Fix no-duplicate-tags rule not detecting violations in examples
  • Fix no-partially-commented-tag-lines rule not detecting violations in features and examples
  • Fix one-space-between-tags rule not detecting violations in examples
  • Fix no-unnamed-scenatrios rule not detecting violations in scenario outlines
  • Fix no-restricted-tags rule not detecting violations in examples
  • Fix no-homogenous-tags rule not detecting violations in examples

Small performance improvement for the no-restricted-tags rule.

npm run demo now processes less files, and shows less messages.

gherkin-lint -

Published by vsiakka about 6 years ago

Expand the indentation rule to also check the indentation of tags

gherkin-lint -

Published by vsiakka about 6 years ago

Changed package build to use babel so that we can use node 5+ features

gherkin-lint -

Published by vsiakka about 6 years ago

Added a rule for disallowing unused variables in scenario outlines

gherkin-lint -

Published by vsiakka about 6 years ago

Fixed a bug where one-space-between-tags rule failed when paired with indentation rule

gherkin-lint -

Published by vsiakka about 6 years ago

Added a rule that detects multiline steps (Gherkin doesn't support them)

gherkin-lint -

Published by vsiakka about 6 years ago

  • Added understandable message for when you add 'Examples' to a Scenario (no-examples-in-scenarios rule)
  • Added tests for ignoring files
  • Fix use-and rule crashing on empty files
gherkin-lint -

Published by vsiakka about 6 years ago

Fix a bug where the configuration verification would fail for custom rules

gherkin-lint -

Published by vsiakka about 6 years ago

Added rules:

  • no-empty-background
  • no-background-only-scenario
  • allowed-tags
gherkin-lint -

Published by vsiakka about 6 years ago

Fix bugs with the no-unused-variables rule:

  • variables were not correctly detected in scenario names
  • variables were not correctly detected in step arguments (DocString or DataTable)
  • words between < and > in Backgrounds and Scenarios would incorrectly be counted as variables even though they are treated like strings
gherkin-lint -

Published by vsiakka about 6 years ago

Add max-scenarios-per-file rule

gherkin-lint -

Published by vsiakka about 6 years ago

Add documentation for the max-scenarios-per-file rule

gherkin-lint -

Published by vsiakka almost 7 years ago

Fixed a bug with the trailing spaces rule would incorrect report errors about a new line character at the end of file

gherkin-lint -

Published by vsiakka almost 7 years ago

Add unit tests for the indentation rule

gherkin-lint -

Published by vsiakka almost 7 years ago

  • Add name-length rule
  • Cleanup
gherkin-lint -

Published by vsiakka almost 7 years ago

  • Fixed spelling of no-unnamed-scenario and no-unnamed-feature rules
  • Add use-and rule
gherkin-lint -

Published by vsiakka almost 7 years ago

  • Add no-restricted-tags rule
  • Performance improvement - feature files are now read once per run instead of once per rule
gherkin-lint -

Published by vsiakka almost 7 years ago

Documentation improvements