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

latest releases: v7.37.2, v7.37.1, v7.37.0...
8 years ago

Added

  • Add jsx-space-before-closing rule (#244 @ryym)
  • Add support for destructing in function signatures to prop-types (#354 @lencioni)

Breaking

  • Add support for static methods to sort-comp. Static methods must now be declared first, see rule documentation (#128 @lencioni)
  • Add shareable config in place of default configuration. jsx-uses-vars is not enabled by default anymore, see documentation (#192)
  • Rename jsx-sort-prop-types to sort-prop-types. jsx-sort-prop-types still works but will trigger a warning (#87 @lencioni)
  • Remove deprecated jsx-quotes rule (#433 @lencioni)
  • display-name now accept the transpiler name by default. You can use the ignoreTranspilerName option to get the old behavior, see rule documentation (#440 @lencioni)

Fixed

  • Only ignore lowercase JSXIdentifier in jsx-no-undef (#435)
  • Fix jsx-handler-names regex (#425)
  • Fix destructured props detection in prop-types (#443)

Changed

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

NewReleases is sending notifications on new releases.