Eslint Plugin React: v6.0.0-alpha.2 Release

Release date:
July 23, 2016
Previous version:
v6.0.0-alpha.1 (released July 8, 2016)
Magnitude:
1,250 Diff Delta
Contributors:
6 total committers
Data confidence:
Commits:

Top Contributors in v6.0.0-alpha.2

yannickcr
lencioni
mathieumg
pfhayes
Tom910
petersendidit

Directory Browser for v6.0.0-alpha.2

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 an all sharable configuration with all rules enabled (#674 @pfhayes)
  • Add no-find-dom-node rule (#678)
  • Add shorthandFirst option to jsx-sort-props (#391 @mathieumg)
  • Add allowDecorators option to require-optimization (#669 @Tom910)

Fixed

  • Fix jsx-no-bind reporting errors on render functions that don't return JSX (#663 @petersendidit)
  • Fix jsx-closing-bracket-location autofix when location is set to props-aligned (#684 @pfhayes)
  • Fix prop-types for destructured arguments being assigned to the parent stateless component in some cases (#698)
  • Fix prop-types for JSX return being assigned to the parent function in some cases (#504)
  • Fix jsx-curly-spacing for reporting on JSX content by mistake (#671)

Breaking

  • Remove deprecated jsx-sort-prop-types rule, use sort-prop-types instead (#549 @lencioni)
  • Rename jsx-no-comment-textnodes to no-comment-textnodes. jsx-no-comment-textnodes still works but will trigger a warning (#668 @lencioni)
  • Rename jsx-require-extension to require-extension. jsx-require-extension still works but will trigger a warning (#668 @lencioni)
  • Rename jsx-wrap-multilines to wrap-multilines. jsx-wrap-multilines still works but will trigger a warning (#668 @lencioni)

Changed

  • Update dependencies
  • Only report jsx-filename-extension warning once per file (#660 @mathieumg)