Skip to content
PluginStats

eslint-plugin-antfu weekly downloads statistics

By antfu (15 listings) · npm · ESLint plugins

Anthony's opinionated ESLint rules

View on npm Fresh · Dec 6, 2026

eslint-plugin-antfu has 985,484 recorded weekly downloads on npm, an increase of 8.4% over the past 30 days, ranking #293 of 3,247 tracked listings.

Weekly downloads
985,484
Official API · Dec 5, 2026
7-day growth
+5.2%
+48.5K weekly downloads
30-day growth
+8.4%
+76.3K weekly downloads
90-day growth
+86.8%
+457.8K weekly downloads
Rank
#293
▼ 3 in 7 days

About eslint-plugin-antfu

eslint-plugin-antfu

npm version npm downloads

Anthony's opinionated ESLint rules, used as the foundation of @antfu/eslint-config.

Install

pnpm add -D eslint-plugin-antfu

Most users should consume these rules via @antfu/eslint-config, which wires them up with sensible defaults alongside the rest of Anthony's ESLint setup. Install this plugin directly only when you want to pick and choose individual rules.

Usage

Register the plugin in your flat config and enable the rules you want:

// eslint.config.js
import antfu from 'eslint-plugin-antfu'

export default [
  {
    plugins: {
      antfu,
    },
    rules: {
      'antfu/consistent-list-newline': 'error',
      'antfu/if-newline': 'error',
      'antfu/top-level-function': 'error',
    },
  },
]

Rules

<!-- 🔧 = fixable · ⚙️ = configurable -->
RuleDescription
consistent-chainingEnforce consistent line breaks for chaining member access🔧⚙️
consistent-list-newlineEnforce consistent line breaks inside braces and parentheses🔧⚙️
curlyOpinionated curly bracket enforcement that allows both styles on one-liners🔧
if-newlineEnforce a newline between if and its consequent🔧
import-dedupeAuto-fix duplicate named imports from the same source🔧
indent-unindentEnforce consistent indentation inside unindent tagged template strings🔧⚙️
no-import-distPrevent importing from a local dist folder
no-import-node-modules-by-pathPrevent importing from node_modules by relative or absolute path
no-top-level-awaitPrevent top-level await
no-ts-export-equalPrevent TypeScript's export = syntax in .ts/.tsx/.mts/.cts files
reasonable-newlineEnforce multiline objects, arrays and ternaries when they are complex🔧⚙️
top-level-functionEnforce top-level functions to be declared with the function keyword🔧

Sponsors

<p align="center"> <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg"> <img src="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg" alt="Sponsors"/> </a> </p>

License

MIT License © 2023-PRESENT Anthony Fu

<!-- Badges -->

Description from the npm listing.

  • 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

eslint-plugin-antfu weekly downloads on npm, last 90 days: 985,484 weekly downloads as of Dec 5, 2026, +86.8% over 90 days.eslint-plugin-antfuWeekly downloads on npm · Last 90 days985,484downloads / week+86.8% over 90 days0200K400K600K800K1MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-antfu weekly downloads on npm, last 90 days: 985,484 weekly downloads as of Dec 5, 2026, +86.8% over 90 days.

7/30/90-day growth

eslint-plugin-antfu weekly downloads growth on npm: +5.2% over 7 days, +8.4% over 30 days, +86.8% over 90 days.eslint-plugin-antfuWeekly downloads growth on npm985,484downloads / week now7-day growth+48,488 weekly downloads+5.2%30-day growth+76,277 weekly downloads+8.4%90-day growth+457,847 weekly downloads+86.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-antfu weekly downloads growth on npm: +5.2% over 7 days, +8.4% over 30 days, +86.8% over 90 days.

Ranking history

eslint-plugin-antfu npm ranking history: currently #293 (by weekly downloads).eslint-plugin-antfunpm ranking · by weekly downloads · Last 90 days#293current rank#280#285#290#295#300#305Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-antfu npm ranking history: currently #293 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 15, #13 (overall #293)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 3, #20 (overall #60)
ESLint plugins: every listing in weekly downloads order

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)
Recent weekly downloads observations for eslint-plugin-antfu
Date (UTC)Weekly downloadsChange vs. previous
985,484-3.5K
989,002+19.5K
969,550+9.1K
960,462+1.2K
959,271+16.6K
942,638+4.1K
938,577+1.6K
936,996-110
937,106-4.3K
941,449-2.2K
943,686-14.2K
957,921-7.7K
965,658-5.9K
971,520—

Similar npm ESLint plugins plugins

All 20 eslint-plugin-antfu alternatives

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-antfu. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.