Skip to content

v5.2.0

Compare
Choose a tag to compare
@yannickcr yannickcr released this 16 Jun 22:39
· 2597 commits to master since this release

Added

  • Add require-optimization rule (#240 @EvNaverniouk)
  • Add jsx-filename-extension rule (#495 @lencioni)
  • Add no-render-return-value rule (#531 @iamdustan)
  • Add no-comment-textnodes rule (#616 @benvinegar)
  • Add objectLiterals option to jsx-curly-spacing (#388, #211 @casesandberg @ljharb)
  • Add option to self-closing-comp to check html tags (#572 @gitim)
  • Add ignore option to no-unknown-property rule (#631 @insin)
  • Add support for ES7 bind operator to jsx-handler-names (#630)
  • Add support for explicit declaration that class extends React.Component (#68 @gausie)

Fixed

  • Fix jsx-closing-bracket-location multiline prop support (#493 @tuures)
  • Fix prop-types for props that where not assigned to the right component (#591)
  • Fix display-name when JSON style is used for defining components (#590 @gitim)
  • Fix jsx-no-bind for bind detection in render when assigned to a variable (#474 @petersendidit)
  • Fix jsx-curly-spacing for spread operator (#606 @gitim)
  • Fix sort-comp crash on spread operator (#624)
  • Fix prop-types crash when destructuring props with spread only

Changed