Eslint Plugin React: v7.5.0 Release

Release date:
November 18, 2017
Previous version:
v7.4.0 (released September 24, 2017)
Magnitude:
9,807 Diff Delta
Contributors:
25 total committers
Data confidence:
Commits:

138 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored September 10, 2017
Authored November 18, 2017
Authored October 26, 2017
Authored November 9, 2017
Authored November 11, 2017
Authored October 15, 2017
Authored August 19, 2017
Authored October 2, 2017
Authored August 20, 2017
Authored November 5, 2017
Authored November 9, 2017
Authored October 1, 2017
Authored August 15, 2017
Authored September 20, 2016

Top Contributors in v7.5.0

jseminck
jomasti
jackyho112
yepninja
DianaSuvorova
TSMMark
Hypnosphi
yannickcr
jaaberg
petersendidit

Directory Browser for v7.5.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-one-expression-per-line rule (#1497 @TSMMark)
  • Add destructuring-assignment rule (#1462 @DianaSuvorova)
  • Add no-access-state-in-setstate rule (#1374 @jaaberg)
  • Add button-has-type rule (#1525 @Hypnosphi)
  • Add warnings for React.DOM factories in no-deprecated (#1530 @backjo)
  • Add sortShapeProp option to sort-prop-types (#1476 @jomasti)
  • Add parens-new-line option to jsx-wrap-multilines (#1475 @jomasti)
  • Add checkContextTypes and checkChildContextTypes options to forbid-prop-types (#1533 @jomasti)
  • Add forbidDefaultForRequired option to require-default-props (#1524 @jomasti)
  • Add new nodes support to jsx-wrap-multilines (#1384 @evgeny-petukhov)

Fixed

  • Fix jsx-curly-brace-presence auto fix by bailing out when some chars exist (#1479 #1449 @jackyho112)
  • Fix boolean-prop-naming crash with Object spread (#1485 @track0x1)
  • Fix no-unused-state to correctly handle arrow function class method (#1363 @jackyho112)
  • Fix incompatibility with typescript-eslint-parser (#1496 @timothykang)
  • Fix jsx-no-bind to only warn for props and account for variable declaration (#1444 #1395 #1417 @jackyho112)
  • Fix no-props-unused-props to handle props usage in custom prop validators (#1518 @petersendidit)
  • Fix prefer-stateless-function to account for contextTypes and defaultProps (#1521 @jomasti)
  • Fix jsx-no-comment-textnodes to not warn when using two slashes via html entities at the beginning of a literal (#1517 @jomasti)
  • Fix default-props-match-prop-types crash (#1499 @jomasti)
  • Fix no-unused-prop-types to handle props used in the setState update callback (#1507 @petersendidit)
  • Fix alignment bug in jsx-indent (#1246 @jseminck)

Changed