npm eslint-plugin-react 7.31.2
v7.31.2

latest releases: 7.37.2, 7.37.1, 7.37.0...
2 years ago

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)

Don't miss a new eslint-plugin-react release

NewReleases is sending notifications on new releases.