Skip to content

v7.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@yannickcr yannickcr released this 23 Apr 15:01
· 2373 commits to master since this release

Added

  • Add no-will-update-set-state rule (#1139 @ManThursday)
  • Add import and destructuring support to no-deprecated

Breaking

  • Update rules for React 15.5.0:
    • Add warnings for React.PropTypes and React.createClass in no-deprecated (#1148 @Calyhre)
    • Update createClass component factory to createReactClass. This is used for React component detection, if you still using React.createClass use the shared settings to specify createClass as component factory

Fixed

  • Fix no-unused-prop-types false positive with nextProps (#1079 @Kerumen)
  • Fix prefer-stateless-function to not warn on classes with decorators (#1034 @benstepp)

Changed