Skip to content

v7.6.0

Compare
Choose a tag to compare
@yannickcr yannickcr released this 25 Jan 22:49
· 1643 commits to master since this release

Added

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