Eslint Plugin React: v5.0.0 Release

Release date:
April 17, 2016
Previous version:
v4.3.0 (released April 6, 2016)
Magnitude:
819 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in v5.0.0

yannickcr
jseminck

Directory Browser for v5.0.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 jsx-first-prop-new-line rule (#410 @jseminck)

Breaking

  • Update rules for React 15:
    • Add warnings for LinkedStateMixin, ReactPerf.printDOM and ReactPerf.getMeasurementsSummaryMap in no-deprecated
    • Allow stateless components to return null in prefer-stateless-function
    • Remove SVG attributes warnings (#490)

If you're still not using React 15 you can keep the old behavior by setting the React version to 0.14 in the [shared settings](README.md#configuration).

Fixed

  • Rewrite require-render-return rule (#542, #543)
  • Fix prefer-stateless-function crash (#544)
  • Fix external propTypes handling (#545)
  • Do not mark inline functions in JSX as components (#546)

Changed

  • Update dependencies
  • Documentation improvements