eslint-plugin-baseline-js weekly downloads statistics
By 3ru · npm · ESLint plugins
Enforce JavaScript Baseline (widely/newly/year) browser compatibility with a single ESLint rule. Prevent runtime errors by catching unsupported JavaScript features during development.
eslint-plugin-baseline-js has 32,720 recorded weekly downloads on npm, a decrease of 37.5% over the past 30 days.
It ranks #648 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -36.8%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About eslint-plugin-baseline-js
eslint-plugin-baseline-js
Enforce the JavaScript Baseline (widely / newly / year) with a single ESLint rule powered by web‑features. This plugin delegates detection to eslint-plugin-es-x and ESLint core (plus a few small gap‑filling rules) and reports with one consistent Baseline message.
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![JSDocs][jsdocs-src]][jsdocs-href] [![License][license-src]][license-href]
[!NOTE] This project hasn’t reached a major release yet, so behavior and options may change. Please feel free to report false negatives/positives and any rough edges as issues.
Install
• npm: npm i -D eslint-plugin-baseline-js • pnpm: pnpm add -D eslint-plugin-baseline-js • yarn: yarn add -D eslint-plugin-baseline-js
Recommended • ESLint >= 9.29.0 and
How It Works
1. Data → scripts/data/build-features.mjs • Extracts the minimal JavaScript subset from web‑features into src/baseline/data/features.javascript.ts. 2. Mapping → src/baseline/mapping/syntax.ts • Maps web‑features IDs to underlying rules (prefer eslint-plugin-es-x / ESLint core; custom rules only when necessary). 3. Resolution → src/baseline/resolve.ts • Classifies “beyond baseline” by bucket (high/low/false → widely/newly/limited) or year.
Coverage
We publish a generated coverage report that lists all JavaScript features from web‑features and shows which ones are currently mapped by this plugin.
• Report: docs/coverage.md • Regenerate locally: pnpm gen:coverage • Generator: scripts/coverage/generate-coverage.mjs
Options (rule)
| Option | Type | Default | Description |
| baseline | widely, newly, number, widely | Baseline level or year (alias: available). | | ignoreFeatures | string[] | — | Skip specific web‑features by ID (supports regex /.../) across syntax delegates and Web API/JS builtin detection. | | ignoreNodeTypes | string[] | — | Suppress reports by ESTree node.type (supports regex /.../). |
Use with oxlint
Runs as an oxlint JS plugin. Just drop it into .oxlintrc.json:
[!CAUTION] No type-aware detection under oxlint. Checks that need TypeScript type resolution (e.g., Set.difference(), Iterator.map()) won't fire. Use ESLint with the type-aware preset if you need them.
Baseline for HTML, CSS, and React
Baseline works best when HTML, CSS, JS, and React all align. For markup, styles, and React, enable the "use-baseline" rules from these ESLint plugins:
• ESLint for CSS: https://github.com/eslint/css • HTML ESLint (HTML): https://github.com/yeonjuan/html-eslint • HTML ESLint (React): https://github.com/yeonjuan/html-eslint/tree/main/packages/eslint-plugin-react
Branding Note (Baseline)
The Baseline name and logos are Google trademarks. Logo assets are licensed under CC BY‑ND 4.0. If you use Baseline logos alongside this plugin, please follow the official guidelines and do not imply sponsorship, affiliation, or endorsement by Google. We embed the official Baseline icons via their published URLs (unmodified).
License
MIT
Thanks to Anthropic for sponsoring
Description from the npm listing.
- eslint
- eslint-plugin
- baseline
- browser-compatibility
- web-features
- javascript
- typescript
- linting
Where eslint-plugin-baseline-js sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm ESLint plugins plugins
Data 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-baseline-js. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.