github jsx-eslint/eslint-plugin-react v5.0.0

latest releases: v7.34.1, v7.34.0, v7.33.2...
8 years ago

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

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

NewReleases is sending notifications on new releases.