Skip to content

v6.2.0

Compare
Choose a tag to compare
@yannickcr yannickcr released this 28 Aug 11:52
· 2619 commits to master since this release

Added

  • Adds no-unused-prop-types rule (#226 @EvNaverniouk)
  • Add style-prop-object rule (#715 @petersendidit)
  • Add auto fix for self-closing-comp (#770 @pl12133)
  • Add support for typeAnnotations in sort-comp (#235 @dozoisch)
  • Add support for PureComponent in prefer-stateless-function (#781 @tiemevanveen)

Fixed

  • Fix jsx-uses-vars to work better with prefer-const. You'll need to upgrade to ESLint 3.4.0 to completely fix the compatibility issue (#716)
  • Fix require-render-return crash (#784)
  • Fix related components detection in prop-types (#735)
  • Fix component detection to ignore functions expression without a parent component

Changed

  • Update dependencies
  • Documentation improvements (@lencioni)