eslint-plugin-react-hook-form weekly downloads statistics
By andykao1213 · npm · ESLint plugins
ESLint plugin for react-hook-form
eslint-plugin-react-hook-form has 49,224 recorded weekly downloads on npm, an increase of 9.3% over the past 30 days, ranking #791 of 3,247 tracked listings.
About eslint-plugin-react-hook-form
eslint-plugin-react-hook-form
react-hook-form is an awesome library which provide a neat solution for building forms. However, there are many rules for the API which may be missed by the developer. This plugin aims to check those rules automatically through ESLint. Thus brings better DX for react-hook-form.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-react-hook-form:
$ npm install eslint-plugin-react-hook-form --save-dev
Usage
Add react-hook-form to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["react-hook-form"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"react-hook-form/destructuring-formstate": "error"
}
}
or start with the recommended rule set:
{
"extends": "plugin:react-hook-form/recommended"
}
Supported Rules
| Rule | Description | Recommended | Fixable |
|---|---|---|---|
| destructuring-formstate | Use destructuring assignment to access the properties of formState. | ⛔️ | |
| no-access-control | Avoid accessing the properties of control | ⛔️ | |
| no-nested-object-setvalue | Avoid nested object in second argument of setValue | ⛔️ | 🔧 |
| no-use-watch | Avoid using watch |
Key
| Icon | Description |
|---|---|
| ⛔️ | Reports as error in recommended configuration |
| ⚠️ | Reports as warning in recommended configuration |
| 🔧 | Rule is fixable with eslint --fix |
License
Description from the npm listing.
- react
- react-hook-form
- eslint
- eslintplugin
- eslint-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-react-hook-form alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-react-hook-form. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.