Skip to content

v7.14.0

Compare
Choose a tag to compare
@yannickcr yannickcr released this 23 Jun 21:47
· 1081 commits to master since this release

Added

  • Add jsx-curly-newline rule (#1493 @golopot)
  • Add support for nested destructuring to prop-types (#296 #1422 @golopot)
  • Add support for variables defined as props to prop-types and no-unused-prop-types (#442 #833 #1002 #1116 #1257 #1764 @golopot)
  • Add checkFragmentShorthand option to jsx-key (#2316 @kaykayehnn)

Fixed

  • Fix no-did-mount-set-state and no-did-update-set-state to handle cDU and cDM defined as class properties (#1595 @jaaberg)
  • Fix sort-prop-types cash when a shape PropType is defined in a variable (#1749 @alexzherdev)
  • Fix no-unused-state false positive when using state of non-lifecycle method (#2274 @golopot)
  • Fix static-property-placement false positive when accessing static property inside method (#2283 @dmason30)
  • Fix prop-type detection for annotated props with default value (#2298 @yannickcr)

Changed