Eslint Plugin React: v4.0.0 Release

Release date:
February 19, 2016
Previous version:
v4.0.0-rc.1 (released February 15, 2016)
Magnitude:
19 Diff Delta
Contributors:
3 total committers
Data confidence:
Commits:

Top Contributors in v4.0.0

yannickcr
craigklem
wyze

Directory Browser for v4.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-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](docs/rules/sort-comp.md) (#128 @lencioni)
  • Add shareable config in place of default configuration. jsx-uses-vars is not enabled by default anymore, see [documentation](README.md#recommended-configuration) (#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](docs/rules/display-name.md#ignoretranspilername) (#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

  • Update dependencies (#426 @quentin-)
  • Documentation improvements (#414 @vkrol, #370 @tmcw, #441 #429 @lencioni, #432 @Niler851, #438 @jmann6)