Eslint Plugin React: v7.36.0 Release

Release date:
September 12, 2024
Previous version:
v7.35.2 (released September 3, 2024)
Magnitude:
2,249 Diff Delta
Contributors:
7 total committers
Data confidence:
Commits:

Top Contributors in v7.36.0

Pearce-Ropion
y-hsgw
NotWoods
ljharb
HenryBrown0
henryqdineen
lucasrmendonca

Directory Browser for v7.36.0

All files are compared to previous version, v7.35.2. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

Added

  • [no-string-refs]: allow this.refs in > 18.3.0 (#3807 @henryqdineen)
  • [jsx-no-literals] Add elementOverrides option and the ability to ignore this rule on specific elements (#3812 @Pearce-Ropion)
  • [forward-ref-uses-ref]: add rule for checking ref parameter is added ([#3667][] @NotWoods)

Fixed

  • [function-component-definition], [boolean-prop-naming], [jsx-first-prop-new-line], [jsx-props-no-multi-spaces], propTypes: use type args (#3629 @HenryBrown0)
  • JSX pragma: fail gracefully (#3632 @ljharb)
  • [jsx-props-no-spreading]: add explicitSpread option to schema (#3799 @ljharb)

Changed

  • [Tests] add @typescript-eslint/parser v6 (#3629 @HenryBrown0)
  • [Tests]Β add @typescript-eslint/parser v7 and v8 (#3629 @hampustagerud)
  • [Docs] [no-danger]: update broken link (#3817 @lucasrmendonca)
  • [types] add jsdoc type annotations (#3731 @y-hsgw)
  • [Tests] button-has-type: add test case with spread (#3731 @y-hsgw)