Skip to content
PluginStats

eslint-plugin-filenames weekly downloads statistics

By selaux · npm · ESLint plugins

Eslint rule for consistent filenames.

View on npm Fresh · Oct 17, 2026

eslint-plugin-filenames has 235,609 recorded weekly downloads on npm, a decrease of 54.9% over the past 30 days.

It ranks #358 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -65.1%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
235,609
Official API · Oct 17, 2026
7-day growth
-51.2%
-247.5K weekly downloads
30-day growth
-54.9%
-286.6K weekly downloads
90-day growth
-65.1%
-439.2K weekly downloads
Rank
#358
Among tracked npm listings

About eslint-plugin-filenames

eslint-plugin-filenames

Adds eslint rules to ensure consistent filenames for your javascript files.

Please note: This plugin will only lint the filenames of the .js, .jsx files you are linting with eslint. It will ignore other files that are not linted with eslint.

Enabling the plugin

This plugin requires a version of eslint>=1.0.0 to be installed as a peer dependency.

Modify your .eslintrc file to load the plugin and enable the rules you want to use.

Rules

Consistent Filenames via regex (match-regex)

A rule to enforce a certain file naming convention using a regular expression.

The convention can be configured using a regular expression (the default is camelCase.js). Additionally exporting files can be ignored with a second configuration parameter.

With these configuration options, camelCase.js will be reported as an error while snake_case.js will pass. Additionally the files that have a named default export (according to the logic in the match-exported rule) will be ignored. They could be linted with the match-exported rule. Please note that exported function calls are not respected in this case.

Matching Exported Values (match-exported)

Match the file name against the default exported value in the module. Files that dont have a default export will be ignored. The exports of index.js are matched against their parent directory.

If your filename policy doesn't quite match with your variable naming policy, you can add one or multiple transforms:

Now, in your code:

Available transforms: 'snake', 'kebab', 'camel', and 'pascal' (camel-cased with first letter in upper case).

For multiple transforms simply specify an array like this (null in this case stands for no transform):

If you prefer to use suffixes for your files (e.g. Foo.react.js for a React component file), you can use a second configuration parameter. It allows you to remove parts of a filename matching a regex pattern before transforming and matching against the export.

Now, in your code:

If you also want to match exported function calls you can use the third option (a boolean flag).

Now, in your code:

Don't allow index.js files (no-index)

Having a bunch of index.js files can have negative influence on developer experience, e.g. when opening files by name. When enabling this rule. index.js files will always be considered a problem.

Changelog

1.3.2

• Fix issue with match-regex and getExportedName

1.3.1

• Put breaking change from 1.3.0 behind a flag

1.3.0

• Support call expressions as named exports

1.2.0

• Introduce strip option for match-exported • Introduce support for multiple transform options • Introduce pascal transform

1.1.0

• Introduce transform option for match-exported

1.0.0

• Split rule into match-regex, match-exported and no-index

0.2.0

• Add match-exported flags

0.1.2

• Fix example in README

0.1.1

• Fix: Text via stdin always passes • Tests: Travis builds also run on node 0.12 and iojs now

0.1.0

• Initial Release

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • file
  • filename
  • path

Where eslint-plugin-filenames 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.

All npm2,248 listings · 113 pages · page 18, #18 (overall #358)
All npm: every listing in weekly downloads order
PNG SVG
ESLint plugins252 listings · 13 pages · page 4, #15 (overall #75)
ESLint plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

eslint-plugin-filenames weekly downloads on npm, last 90 days: 235,609 weekly downloads as of Oct 17, 2026, -65.1% over 90 days.eslint-plugin-filenamesWeekly downloads on npm · Last 90 days235,609downloads / week-65.1% over 90 days0200K400K600K800KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
eslint-plugin-filenames weekly downloads on npm, last 90 days: 235,609 weekly downloads as of Oct 17, 2026, -65.1% over 90 days.
PNG SVG

7/30/90-day growth

eslint-plugin-filenames weekly downloads growth on npm: -51.2% over 7 days, -54.9% over 30 days, -65.1% over 90 days.eslint-plugin-filenamesWeekly downloads growth on npm235,609downloads / week now7-day growth-247,541 weekly downloads-51.2%30-day growth-286,604 weekly downloads-54.9%90-day growth-439,193 weekly downloads-65.1%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
eslint-plugin-filenames weekly downloads growth on npm: -51.2% over 7 days, -54.9% over 30 days, -65.1% over 90 days.
PNG SVG

Ranking history

eslint-plugin-filenames npm ranking history: currently #358 (by weekly downloads).eslint-plugin-filenamesnpm ranking · by weekly downloads · Last 90 days#358current rank#100#150#200#250#300#350#400Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
eslint-plugin-filenames npm ranking history: currently #358 (by weekly downloads).
PNG SVG

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 (543)
Recent weekly downloads observations for eslint-plugin-filenames
Date (UTC)Weekly downloadsChange vs. previous
235,609-38.5K
274,120+8.2K
265,962-106.1K
372,063-114.1K
486,1890
486,189+1.9K
484,292+1.1K
483,150+6.2K
476,955+6.2K
470,802-1.7K
472,456-10.6K
483,076-123.1K
606,217-23.5K
629,728—

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