npm eslint-plugin-jest 24.0.0
v24.0.0

latest releases: 28.9.0, 28.8.3, 28.8.2...
4 years ago

24.0.0 (2020-09-04)

Bug Fixes

Code Refactoring

  • no-test-callback: rename rule to no-done-callback (#653) (e15a8d1)

Features

  • no-done-callback: support hooks (#656) (3e6cb44), closes #649 #651
  • add no-conditional-expect to the recommended ruleset (40cd89d)
  • add no-deprecated-functions to the recommended ruleset (5b2af00)
  • add no-interpolation-in-snapshots to the recommended ruleset (3705dff)
  • add valid-title to recommended ruleset (41f7873)
  • drop support for node 8 (#570) (6788e72)
  • set no-jasmine-globals to error in recommended ruleset (7080952)
  • no-large-snapshots: remove whitelistedSnapshots option (8c1c0c9)

BREAKING CHANGES

  • no-done-callback: no-done-callback will now report hooks using callbacks as well, not just tests
  • no-test-callback: rename no-test-callback to no-done-callback
  • recommend no-conditional-expect rule
  • recommend no-interpolation-in-snapshots rule
  • recommend no-deprecated-functions rule
  • recommend valid-title rule
  • recommend erroring for no-jasmine-globals rule
  • no-large-snapshots: no-large-snapshots runs on all files regardless of type
  • Jasmine globals are no marked as such
  • Node 10+ required

Don't miss a new eslint-plugin-jest release

NewReleases is sending notifications on new releases.