Eslint Plugin React: v7.6.0 Release

Release date:
January 25, 2018
Previous version:
v7.5.1 (released November 19, 2017)
Magnitude:
4,109 Diff Delta
Contributors:
27 total committers
Data confidence:
Commits:

77 Commits in this Release

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

Authored October 16, 2017
Authored October 31, 2017
Authored January 25, 2018
Authored November 22, 2017
Authored November 19, 2017
Authored November 8, 2017
Authored November 22, 2017
Authored November 8, 2017
Authored November 8, 2017
Authored November 23, 2017
Authored January 15, 2018
Authored December 12, 2017
Authored November 15, 2017
Authored November 9, 2017
Authored December 22, 2017
Authored November 15, 2017
Authored December 7, 2017
Authored November 21, 2017

Top Contributors in v7.6.0

jomasti
b0gok
pfhayes
yannickcr
davazp
TSMMark
cj-skillingstad-d83e
lukeapage
jaaberg
lfades

Directory Browser for v7.6.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 forbid-dom-props rule (#1562 @davazp)
  • Add jsx-child-element-spacing rule (#1515 @pfhayes)
  • Add no-this-in-sfc rule (#1435 @jomasti)
  • Add jsx-sort-default-props rule (#281 @b0gok)
  • Add message option to boolean-prop-naming (#1588 @louisscruz)
  • Add beforeClosing option to jsx-tag-spacing (#1396 @cjskillingstad)
  • Add instance-methods and instance-variables to sort-comp (#599 @RDGthree)
  • Add propWrapperFunctions support for boolean-prop-naming (#1478 @jomasti)
  • Add warning for React.addons.TestUtils in no-deprecated (#1644 @nirnaor)
  • Add URL to rule documentation to the rules metadata (#1635 @Arcanemagus)

Fixed

  • Fix crashes in no-access-state-in-setstate (#1559 @jomasti, #1611 @pfhayes)
  • Fix crash in require-optimization when encountering arrays with empty items as values in object (#1621 @kamataryo)
  • Fix crash in no-unused-prop-types when passing an empty function as a PropType (#1542 #1581 @kevinzwhuang)
  • Fix crash in no-typos when using PropType.shape without arguments (#1471 @mrichmond)
  • Fix crash when using Unions in flow propTypes (#1468 @justinanastos)
  • Fix missing meta in jsx-tag-spacing (#1650 @flyerhzm)
  • Fix no-unused-state to detect usage of this.state as an object (#1572)
  • Fix no-access-state-in-setstate to detect when the state variable is destructured from this.state (#1597 @jaaberg)
  • Fix jsx-no-literals to correctly find string literals part of BinaryExpressions (#1511 @jaaberg)
  • Fix no-typos false positive on custom propTypes with isRequired (#1607 @lfades)
  • Fix prop-types to check for nextProps in componentWillReceiveProps (#1636 @xjmdoo)
  • Fix no-unknown-property to not pascal-casing crossorigin attribute and only allow it on script/img/video (#1642 @ljharb)

Changed

  • Improve jsx-wrap-multilines auto fix (#1576 @sharmilajesupaul)
  • Export defaultConfig from sort-comp rule for programmatic use (#1578 @Andarist)
  • Documentation improvements (#1552 @TSMMark, #1566 @lukeapage, #1624 @alexilyaev, @ljharb)
  • Update dependencies (@ljharb)