Eslint Plugin React: v7.14.0 Release

Release date:
June 23, 2019
Previous version:
v7.13.0 (released May 3, 2019)
Magnitude:
3,605 Diff Delta
Contributors:
12 total committers
Data confidence:
Commits:

58 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored April 14, 2019
Authored June 23, 2019
Authored May 11, 2019
Authored May 19, 2019
Authored June 22, 2019
Authored June 23, 2019
Authored June 21, 2019
Authored June 22, 2019
Authored June 10, 2019

Top Contributors in v7.14.0

golopot
ljharb
yannickcr
kaykayehnn
alexzherdev
dmason30
jaaberg
MrHen
ybiquitous
Jason-Cooke

Directory Browser for v7.14.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

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

  • Add ESLint 6.0.0 as valid peerDependency (@yannickcr)
  • Improve no-render-return-value performance (#2259 @golopot)
  • Change jsx-sort-props to report errors only on the identifier (#2312 @MrHen)
  • Change to warn only once if react version cannot be detected (#2276 @ljharb)
  • Documentation improvements (#2263 @dimitropoulos, #2262 @ybiquitous, #2295 @battaglr, #2302 @Jason-Cooke, #2303 @golopot)
  • Code refactoring (#2265 #2267 #2286 #2294 @golopot, @ljharb)
  • Tests improvements (#2304 #1047 @golopot, @yannickcr)