Eslint Plugin React: v7.15.0 Release

Release date:
October 1, 2019
Previous version:
v7.14.3 (released July 22, 2019)
Magnitude:
2,292 Diff Delta
Contributors:
15 total committers
Data confidence:
Commits:

28 Commits in this Release

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

Authored October 1, 2019
Authored September 3, 2019
Authored October 1, 2019

Top Contributors in v7.15.0

golopot
vedadeepta
jenil94
tanmoyopenroot
ljharb
kaykayehnn
BPScott
bhollander-indeed
tyler-swavely-c557
Kenneth-KT

Directory Browser for v7.15.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-no-useless-fragment][] rule (#2261 @golopot)
  • [jsx-handler-name][]: allow false to disable eventHandlerPrefix/eventHandlerPropPrefix (#2410 @tanmoyopenroot)
  • [sort-comp][]: add static-variables grouping (#2408 @vedadeepta)
  • [jsx-no-literals][]: Add allowedStrings option (#2380 @benhollander)
  • [no-multi-comp][]: Added handling for forwardRef and memo wrapping components declared in the same file (#2184 @jenil94)
  • [jsx-pascal-case][]: allowAllCaps option now allows SCREAMING_SNAKE_CASE (#2364 @TylerR909)

Fixed

  • [jsx-indent][]: Fix false positive when a jsx element is the last statement within a do expression (with tests) (#2200 @Kenneth-KT)
  • [jsx-curly-brace-presence][]: fix jsx tags in braces (#2422 @tanmoyopenroot)
  • [display-name][]: Fix false positives (#2399 @BPScott)
  • [jsx-curly-brace-presence][]: report unnecessary curly braces with children on next line (#2409 @vedadeepta)
  • [no-unused-prop-types][]: false positive with callback (#2375 @golopot)
  • Fix prop-types detection collision on renamed props (#2383 @yannickcr)
  • [jsx-sort-props][]: use localeCompare rather than comparison operator (#2391 @tanmoyopenroot)
  • [jsx-pascal-case][]: allow one-letter-named components (#2395 @Haegin)
  • [jsx-wrap-multilines][]: fix incorrect formatting (#2392 @tanmoyopenroot)
  • [require-optimization][]: fix when using arrow function in class components (#2385 @jenil94)
  • [no-deprecated][]: Deprecate cWM/cWRP/cWU lifecycle methods since React 16.9.0 (#2378 @meowtec)
  • [jsx-key][]: improve docs and confusing error message (#2367 @kaykayehnn)
  • Recognize props wrapped in flow $ReadOnly<> utility type (#2361 @lukeapage)
  • [prop-types][]: false positive with setState updator (#2359 @golopot)

Changed

  • [Docs] [no-access-state-in-setstate][]: update grammar ([#2418][] @neaumusic)
  • [jsx-curly-brace-presence][], [jsx-one-expression-per-line][], [no-danger-with-children][]: add isWhiteSpaces to lib/util/jsx (#2409 @vedadeepta)