Eslint Plugin React: v7.33.0 Release

Release date:
July 19, 2023
Previous version:
v7.32.2 (released January 29, 2023)
Magnitude:
978 Diff Delta
Contributors:
11 total committers
Data confidence:
Commits:

24 Commits in this Release

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

Authored June 1, 2023
Authored July 19, 2023
Authored July 19, 2023

Top Contributors in v7.33.0

ljharb
JulesBlm
102
taozhou-glean
haydncomley
akulsr0
k-yle
nbsp1221
gpoole
gokaygurcan

Directory Browser for v7.33.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

  • [display-name]: add checkContextObjects option (#3529 @JulesBlm)
  • [jsx-first-prop-new-line]: add multiprop option (#3533 @haydncomley)
  • [no-deprecated]: add React 18 deprecations (#3548 @sergei-startsev)
  • [forbid-component-props]: add disallowedFor option (#3417 @jacketwpbb)

Fixed

  • [no-array-index-key]: consider flatMap (#3530 @k-yle)
  • [jsx-curly-brace-presence]: handle single and only expression template literals (#3538 @taozhou-glean)
  • [no-unknown-property]: allow onLoad on source (@ljharb)
  • [jsx-first-prop-new-line]: ensure autofix preserves generics in component name (#3546 @ljharb)
  • [no-unknown-property]: allow fill prop on <symbol> (#3555 @stefanprobst)
  • [display-name], [prop-types]: when checking for a capitalized name, ignore underscores entirely (#3560 @ljharb)
  • [no-unused-state]: avoid crashing on a class field function with destructured state (#3568 @ljharb)
  • [no-unused-prop-types]: allow using spread with object expression in jsx (#3570 @akulsr0)
  • Revert "[destructuring-assignment]: Handle destructuring of useContext in SFC" (#3583 #2797 @102)
  • [prefer-read-only-props]: add TS support (#3593 @HenryBrown0)

Changed

  • [Docs] [jsx-newline], [no-unsafe], [static-property-placement]: Fix code syntax highlighting (#3563 @nbsp1221)
  • [readme] resore configuration URL (#3582 @gokaygurcan)
  • [Docs] [jsx-no-bind]: reword performance rationale (#3581 @gpoole)
  • [Docs] [jsx-first-prop-new-line]: add missing multiprop value (#3598 @dzek69)