Skip to content

Releases: Nyaran/gplint

v2.0.0

07 Jul 17:51
84928c5
Compare
Choose a tag to compare

What's Changed

💥 Breaking Change

  • This package is now pure ESM. It should not affect if using gplint as a cli tool, if you have problems with integration, please, first read this.
  • Drop Node 14 and 16 support.
  • Level "on" was deprecated on v1, and now was removed. Replace it with "error" or "warn" on your .gplintrc file.
  • On rule required-tags the tags was deprecated, now was removed. Replace it with scenario the use in the same way.

🚀 New Feature

  • Support to load custom rules with mjs and cjs extensions (and TypeScript equivalents).
  • Support latest Node 20 (not limited to 20.4 anymore) and 22.
  • Rules improvements:
    • Support Rule node for all rules
    • Rule no-dupe-scenario-names has two new configurations, in-rule and in-rule-compile.
    • Improve no-restricted-patterns:
      • Support Example, ExampleHeader and ExampleBody.
      • Support DocString and DataTable from Steps with it own configuration key (check README.md).

🐛 Bug Fix

  • Fix no-partially-commented-tag-lines rule, detecting comments separated from tag (configurable).

🏠 Internal

  • Update eslint config to use flat config.
  • Update eslint to v9.
  • Add restrictive Code Style with eslint.
  • Replace istanbuljs/nyc with c8.
  • Increased code coverage.
  • Replaced "commander" with "yargs".
  • Improve linting and strictNullChecks

Full Changelog: v1.5.1...v2.0.0

v2.0.0-beta.6

27 Jun 19:37
94d4280
Compare
Choose a tag to compare
v2.0.0-beta.6 Pre-release
Pre-release

What's Changed

Full Changelog: v2.0.0-beta.5...v2.0.0-beta.6

v2.0.0-beta.5

23 Jun 08:33
bc6bc94
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

What's Changed

  • feat: Improve error handling and returns correct version by @Nyaran in #558

Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5

v2.0.0-beta.4

23 Jun 07:19
cad38b1
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • feat: Improve no-restricted-patterns, add specific config for DocSt… by @Nyaran in #556
  • Release v2.0.0-beta.4 by @Nyaran in #557

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

v2.0.0-beta.3

22 Jun 19:17
c8573db
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

What's Changed

Full Changelog: v1.5.1...v2.0.0-beta.3

v1.5.1

17 Jul 16:08
ca3846b
Compare
Choose a tag to compare

What's Changed

  • Fix load default config file if argument is not specified. by @Nyaran in #440

Full Changelog: v1.5.0...v1.5.1

v1.5.0

15 Jul 18:03
409f62b
Compare
Choose a tag to compare

What's Changed

  • Improve rule no-restricted-patterns allowing to restrict words on steps by @AlexisArteaga13 in #433
  • Support custom rules in TypeScript by @Nyaran in #434
  • Improve rule keywords-in-logical-order allowing to detect missing keywords by @AlexisArteaga13 in #438

New Contributors

Full Changelog: v1.4.1...v1.5.0

v1.4.1

14 Mar 20:13
6ffa3b0
Compare
Choose a tag to compare

What's Changed

  • chore(deps-dev): bump @typescript-eslint/parser from 5.54.0 to 5.54.1 by @dependabot in #360
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.54.0 to 5.54.1 by @dependabot in #359
  • chore(deps-dev): bump eslint from 8.35.0 to 8.36.0 by @dependabot in #361
  • chore(deps-dev): bump sinon from 15.0.1 to 15.0.2 by @dependabot in #362
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.54.1 to 5.55.0 by @dependabot in #365
  • chore(deps-dev): bump @typescript-eslint/parser from 5.54.1 to 5.55.0 by @dependabot in #364
  • Escape pipes by @devilj in #363
  • Fix tests workflow + keep node<15 support by @Nyaran in #367

Full Changelog: v1.4.0...v1.4.1

v1.4.0

04 Mar 18:02
3cb6d9a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

07 Mar 22:48
Compare
Choose a tag to compare

Added

  • Added rules allow-all-caps & allow-all-lowercase #123.
  • Support warn/error levels for rules. (on is assumed as error). #66
  • New cli parameter, --max-warnings to configure exit code based on number of warnings. #66
  • Added rule related-tags.

Changed

  • Migrated code and tests to pure babel.
  • Tests now use sources instead of compiled files.
  • Replace mocha-sinon package with direct use.
  • Moved dist to build (just bc personal preference).
  • Apply language tag to code blocks on README.
  • Babel/nyc tweaks.

Fixed

  • Fix undefined use on availableConfig.