eslint-plugin-react-hooks
7.1.1 · 17 Apr 2026MIT116.1M / weekRepositoryHomepagenpmAtom feed
53 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 7.x · latest line
7.1.1
17 Apr 20267.1.0
16 Apr 2026Skip compilation for non-React files to improve performance. (@josephsavona in #35589)
Fix exhaustive deps bug with Flow type casting. (@jorge-cab in #35691)
This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better
set-state-in-effectdetection, improved ref validation, and more helpful error reporting.Skip compilation for non-React files to improve performance. (@josephsavona in #35589)
Fix exhaustive deps bug with Flow type casting. (@jorge-cab in #35691)
Fix
useEffectEventchecks in component syntax. (@jbrown215 in #35041)Improved
set-state-in-effectvalidation with fewer false negatives. (@jorge-cab in #35134, @josephsavona in #35147, @jackpope in #35214, @chesnokov-tony in #35419, @jsleitor in #36107)Improved ref validation for non-mutating functions and event handler props. (@josephsavona in #35893, @kolvian in #35062)
Compiler now reports all errors instead of stopping at the first. (@josephsavona in #35873–#35884)
Improved source locations and error display in compiler diagnostics. (@nathanmarks in #35348, @josephsavona in #34963)
7.0.1
24 Oct 2025Disallowed passing inline
useEffectEventvalues as JSX props to guard against accidental propagation.Switch to
export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects.Tightened the typing of
configs.flatso theconfigsexport is always defined.
Disallowed passing inline
useEffectEventvalues as JSX props to guard against accidental propagation.Switch to
export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects.Tightened the typing of
configs.flatso theconfigsexport is always defined.
7.0.0
8 Oct 2025- breaking
Removed
recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@poteto in #34757)
This release slims down presets to just 2 configurations (
recommendedandrecommended-latest), and all compiler rules are enabled by default.- breaking
Removed
recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@poteto in #34757)
- 6.x
6.1.1
3 Oct 2025Reading the note…
6.1.0
1 Oct 2025Reading the note…
6.0.0
21 Apr 2025Reading the note…
- 5.x
5.2.0
28 Feb 2025Reading the note…
5.1.0
5 Dec 2024Reading the note…
5.0.0
11 Oct 2024Reading the note…
- 4.x
4.6.2
26 Apr 2024Reading the note…
4.6.1
25 Apr 2024Reading the note…
4.6.0
14 Jun 2022Reading the note…
4.5.0
26 Apr 2022Reading the note…
4.4.0
29 Mar 2022Reading the note…
4.3.0
9 Nov 2021Reading the note…
4.2.0
20 Oct 2020Reading the note…
4.1.2
11 Sep 2020Reading the note…
4.1.1
10 Sep 2020Reading the note…
4.1.0
17 Aug 2020Reading the note…
4.0.8
13 Jul 2020Reading the note…
4.0.7
10 Jul 2020Reading the note…
4.0.6
7 Jul 2020Reading the note…
4.0.5
30 Jun 2020Reading the note…
4.0.4
27 May 2020Reading the note…
4.0.3
26 May 2020Reading the note…
4.0.2
13 May 2020Reading the note…
4.0.1
12 May 2020Reading the note…
4.0.0
1 May 2020Reading the note…
- 3.x
3.0.0
26 Mar 2020Reading the note…
- 2.x
2.5.1
19 Mar 2020Reading the note…
2.5.0
26 Feb 2020Reading the note…
2.4.0
17 Feb 2020Reading the note…
2.3.0
14 Nov 2019Reading the note…
2.2.0
22 Oct 2019Reading the note…
2.1.2
3 Oct 2019Reading the note…
2.1.1
28 Sep 2019Reading the note…
2.1.0
27 Sep 2019Reading the note…
2.0.1
21 Aug 2019Reading the note…
2.0.0
21 Aug 2019Reading the note…
- 1.x
1.7.0
8 Aug 2019Reading the note…
1.6.1
24 Jun 2019Reading the note…
1.6.0
22 Mar 2019Reading the note…
1.5.1
14 Mar 2019Reading the note…
1.5.0
7 Mar 2019Reading the note…
1.4.0
1 Mar 2019Reading the note…
1.3.0
25 Feb 2019Reading the note…
1.2.0
21 Feb 2019Reading the note…
1.1.0
21 Feb 2019Reading the note…
1.0.2
14 Feb 2019Reading the note…