Eslint Plugin React: v7.31.2 Release

Release date:
September 2, 2022
Previous version:
v7.31.1 (released August 26, 2022)
Magnitude:
608 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

Top Contributors in v7.31.2

sjarva
ljharb
ROSSROSALES
Luccasoli
AriPerkkio

Directory Browser for v7.31.2

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

Release Notes Published

Fixed

  • [jsx-key]: avoid a crash with optional chaining (#3371 @ljharb)
  • [jsx-sort-props]: avoid a crash with spread props (#3376 @ljharb)
  • [no-unknown-property]: properly recognize valid data- and aria- attributes (#3377 @sjarva)
  • [no-unknown-property]: properly recognize unknown HTML/DOM attributes (#3377 @sjarva)

Changed

  • [Docs] [jsx-sort-props]: replace ref string with ref variable (#3375 @Luccasoli)
  • [Refactor] [no-unknown-property]: improve jsdoc; extract logic to separate functions (#3377 @sjarva)
  • [Refactor] [no-unknown-property]: update DOM properties to include also one word properties (#3377 @sjarva)