eslint-plugin-only-warn weekly downloads statistics
By bfanger · npm · ESLint plugins
Downgrade errors to warnings
eslint-plugin-only-warn has 757,134 recorded weekly downloads on npm, a decrease of 30.4% over the past 30 days, ranking #216 of 2,322 tracked listings.
About eslint-plugin-only-warn
eslint-plugin-only-warn
Downgrade ESLint errors to warnings.
Installation
npm install --save-dev eslint-plugin-only-warn
Usage
Using flat config files:
// eslint.config.js
import "eslint-plugin-only-warn";
export default [
...
Or, when the package.json that doesn't have "type": "module":
require("eslint-plugin-only-warn");
<details>
<summary>ESLint 8.x and earlier</summary>
Add only-warn to the plugins section of your .eslintrc configuration file:
{
"plugins": ["only-warn"]
}
</details>
--max-warnings=0
Add --max-warnings=0 to the eslint command in package.json
"lint": "eslint --max-warnings=0 ...",
Adding the option allows git hooks or CI pipelines to detect failed linting rules.
Because the cli now has a nonzero exitcode when it encountered linting warnings.
Git integration
Use Husky and lint-staged to prevent committing code that contain eslint warnings.
Why only warnings?
- Don't waste time thinking or discussing about when a rule should be an error or a warning, focus on enabling of disabling a rule
- Warnings look different in editors, this allows you to quickly see that some tweaking is required, but your code still runs (ESLint rules generally don't block the code from executing and fatal errors are still reported as error)
- Prevents noise, disallowing warnings to be committed in a codebase prevents clutter in the output of ESLint (use special eslint comments for the instances when you need an exception to the rules)
Description from the npm listing.
- 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 (122)Similar npm ESLint plugins plugins
All 20 eslint-plugin-only-warn 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-only-warn. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.