replux icon indicating copy to clipboard operation
replux copied to clipboard

Update eslint-plugin-react to version 5.0.0 🚀

Open greenkeeperio-bot opened this issue 8 years ago • 0 comments

Hello :wave:

:rocket::rocket::rocket:

eslint-plugin-react just published its new version 5.0.0, which is not covered by your current version range.

If this pull request passes your tests you can publish your software with the latest version of eslint-plugin-react – otherwise use this branch to work on adaptions and fixes.

Happy fixing and merging :palm_tree:


GitHub Release

Added

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.

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

The new version differs by 12 commits .

  • b8cac74 Update CHANGELOG and bump version
  • 4a31270 Update dependencies
  • ba84d6d Update React version in Readme
  • c1c38eb Do not mark inline functions in JSX as components (fixes #546)
  • 68ed8af Rewrite require-render-return rule (fixes #542, fixes #543)
  • 42cfd68 Fix external propTypes handling (fixes #545)
  • 3187bf9 Fix prefer-stateless-function crash (fixes #544)
  • 1a3d3d1 Add documentation for require-render-return
  • 63ef07e Add jsx-first-prop-new-line rule (fixes #410)
  • 7b27c53 Remove SVG attributes warning for React 15 (fixes #490)
  • c2dfef5 Allow stateless components to return null in React 15
  • ba987db Add React 15 deprecated methods

See the full diff.


This pull request was created by greenkeeper.io. It keeps your software up to date, all the time.

Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster :zap:

greenkeeperio-bot avatar Apr 17 '16 20:04 greenkeeperio-bot