Eslint Plugin React: v7.32.0 Release

Release date:
January 11, 2023
Previous version:
v7.31.11 (released November 17, 2022)
Magnitude:
3,768 Diff Delta
Contributors:
16 total committers
Data confidence:
Commits:

38 Commits in this Release

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

Authored September 10, 2022
Authored October 12, 2022
Authored November 21, 2022
Authored November 3, 2022
Authored December 22, 2022
Authored December 28, 2022
Authored January 11, 2023
Authored October 26, 2022
Authored December 26, 2022
Authored December 27, 2022
Authored November 29, 2022

Top Contributors in v7.32.0

alexzherdev
ljharb
ROSSROSALES
jjangga0214
cyan33
himanshu007-creator
justmejulian
metreniuk
bmish
ed-jinyoung-park

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

  • support new config system (#3429 @jjangga0214)
  • [hook-use-state]: add allowDestructuredState option (#3449 @ljharb)
  • add [sort-default-props] and deprecate [jsx-sort-default-props] (#1861 @alexzherdev)
  • add [no-object-type-as-default-prop] rule (#2848 @cyan33 @fengkx)

Fixed

  • configs: avoid legacy config system error (#3461 @ljharb)
  • [sort-prop-types]: restore autofixing (#3452, #3471 @ROSSROSALES)
  • [no-unknown-property]: do not check fbs elements (#3494 @brianogilvie)
  • [jsx-newline]: No newline between comments and jsx elements (#3493 @justmejulian)
  • [jsx-no-leaked-render]: Don't report errors on empty strings if React >= v18 (#3488 @himanshu007-creator)
  • [no-invalid-html-attribute]: convert autofix to suggestion (#3474 @himanshu007-creator @ljharb)
  • [jsx-no-leaked-render]: fix removing parentheses for conditionals (#3502 @akulsr0)
  • [jsx-no-leaked-render]: invalid fixes in coerce mode (#3511 @akulsr0)
  • [destructuring-assignment]: Handle destructuring of useContext in SFC (#2797 @Zinyon @ljharb)

Changed

  • [Docs] [jsx-no-leaked-render]: Remove mentions of empty strings for React 18 (#3468 @karlhorky)
  • [Docs] update eslint-doc-generator to v1.0.0 (#3499 @bmish)
  • [meta] add issue template (#3483 @ROSSROSALES)
  • [Docs] Use emoji for jsx-runtime config and config file for eslint-doc-generator (#3504 @bmish)
  • [Docs] [prefer-exact-props]: fix example flow syntax (#3510 @smackfu)
  • [Perf] use anyOf instead of oneOf (@ljharb @remcohaszing)