Eslint Plugin React: v7.8.0 Release

Release date:
May 11, 2018
Previous version:
v7.8.0-rc.0 (released May 10, 2018)
Magnitude:
5 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in v7.8.0

yannickcr

Directory Browser for v7.8.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Added

  • Add support for fragments to react-in-jsx-scope (#1758)
  • Add support for Flow generic PropType to require-default-props (#1724 @Miziak)
  • Add component whitelist option to forbid-component-props (#1732 @ThiefMaster)
  • Add support for React 16.3 lifecycle methods to no-unused-prop-types (#1681 @bvaughn)
  • Add support for React 16.3 lifecycle methods to sort-comp (#1767 @joe-denea)
  • Add support for React 16.3 lifecycle methods to no-typos
  • Add support for prevState and nextState to no-unused-state (#1759)
  • Add warnings for componentWillMount, componentWillReceiveProps and componentWillUpdate lifecycle methods in no-deprecated (#1750 @sergei-startsev)

Fixed

  • Fix no-typos false positive on custom PropType classes (#1389 @brettdh)
  • Fix boolean-prop-naming to handle required props (#1389 @louisscruz)
  • Fix jsx-curly-brace-presence to allow whitespace JSX container (#1717 @sharmilajesupaul)
  • Fix jsx-no-bind to handle ternary conditions (#1722 @gwenaellarmet)

Changed

  • Documentation improvements (#1699 @ronanmathew, #1743 @ybiquitous, #1753 @awthwathje, #1783 @chentsulin, #1703 @ferhatelmas)