Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

v29.0.0

Compare
Choose a tag to compare
@cartogram cartogram released this 17 Jun 19:35
· 152 commits to master since this release

Added Rules

  • jest/no-commented-out-tests disallows commented out tests.(275)
  • jest/no-try-expect disallows expect calls in catch blocks (300)
  • node/prefer-promises/dns and node/prefer-promises/fs These rules disallow the callback API in favor of promise API for the dns and fs modules. (257)
  • jest/no-mocks-import This rule disallows manually importing from __mocks__ (246)
  • react/state-in-constructor Enforce state initialization to be in a class property. (256)
  • import/no-namespace Prevents namespace imports. (305)

Changed Rules

  • shopify/jest/no-vague-titles considers "necessary" to be invalid/ vague (265)
  • shopify/jest/no-if now recognizes conditional statements (298) and ignores if statements nested within block statements (299)
  • react-prefer-private-members no longer incorrectly reporting the members of a parent class if a React class is defined within its constructor. (258)