Eslint Plugin React: v7.0.0-rc.1 Release

Release date:
May 1, 2017
Previous version:
v7.0.0-rc.0 (released April 23, 2017)
Magnitude:
1,667 Diff Delta
Contributors:
7 total committers
Data confidence:
Commits:

Top Contributors in v7.0.0-rc.1

yannickcr
ljharb
MatthewHerbst
jomasti
ColCh
afairb
kokarn

Directory Browser for v7.0.0-rc.1

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 reservedFirst option to jsx-sort-props (#1134 @MatthewHerbst)

Breaking

  • Drop Node.js < 4 support (#1038 @ljharb)
  • Add no-danger-with-children rule to recommended rules (#748 @ljharb)
  • Add no-string-refs rule to recommended rules (#749 @ljharb)
  • Add jsx-key rule to recommended rules (#750 @ljharb)
  • Add jsx-no-comment-textnodes rule to recommended rules (#751 @ljharb)
  • Add jsx-no-target-blank rule to recommended rules (#752 @ljharb)
  • Add no-unescaped-entities rule to recommended rules (#841 @ljharb)
  • Add no-children-prop rule to recommended rules (#842 @ljharb)
  • Remove deprecated wrap-multilines rule, use jsx-wrap-multilines instead
  • Remove deprecated no-comment-textnodes rule, use jsx-no-comment-textnodes instead
  • Remove deprecated require-extension rule, use the eslint-plugin-import extensions rule instead
  • Deprecate jsx-space-before-closing rule, use the jsx-tag-spacing rule instead. jsx-space-before-closing still works but will trigger a warning (#1070 @afairb)
  • jsx-first-prop-new-line default is now multiline-multiprop (#802 @kokarn)
  • jsx-wrap-multilines now checks arrow functions without block body. It can be deactivated in [rule options](docs/rules/jsx-wrap-multilines.md#rule-details) (#790 @ColCh)
  • jsx-no-undef will not check the global scope by default. You can force it with the [allowGlobals](docs/rules/jsx-no-undef.md#allowglobals) option (#1013 @jomasti)