Skip to content

Releases: Nyaran/gplint

v1.2.1

03 Nov 00:40
0d2d44a
Compare
Choose a tag to compare

Added

  • (internal) Created method getNodeForPickle to map nodes and pickles.

Fixed

  • Fix and improve required-tags using global.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

01 Nov 17:58
Compare
Choose a tag to compare

Added

  • Added rule max-tags-lines.
  • Run tests on node 17.
  • Added rule table-align.

Changed

  • Improve packaging discarding .npmignore and using files property on package.json.
  • Improve indentation to support examples tag.
  • Improve required-tags rule.
    • Add options to set required tags for each level.
    • Add option to define global tags, to be defined on any level.
    • Add options to extend rule and example tags to Scenario when that levels are not present for that Scenario.
    • Deprecated the tags option, should be replaced by scenario.
    • Improved tag checks allowing to force an expression is a RegExp (should be wrapped between slashes), and matching tag completely on string match.
    • Allow subset array to include optional required tags.
  • Improve formatters:
    • xunit: Wrap with testsuites object and add count attribute
    • stylish: Add error count to final output

Removed

  • Run tests on node 15.

v1.1.0

03 Oct 11:44
Compare
Choose a tag to compare

Changed

  • Improve no-unused-variables to handle spaces on usage.
  • Improve file-name on camelCase to allow acronyms.

v1.0.0

27 Sep 11:14
Compare
Choose a tag to compare
  • Rename project to gplint.
  • Improve console output when using stylish, adding column number and error level.
  • Improve rule no-dupe-scenario-names allowing to validate scenario names after replace the example variables.
  • Update Gherkin to latest version.