eslint-plugin-barrel-files

JSON →
library 3.0.1 ·javascript
verified May 27, 2026

ESLint plugin to detect barrel files (re-export aggregators) and imports from them, preventing unnecessary module loading in non-bundler environments. Current stable version 3.0.1. Release cadence is irregular; last major v3 dropped support for older ESLint versions. Differentiator: specifically targets barrel file patterns that cause performance issues in test runners, browsers, CDNs, and server-side runtimes where tree-shaking is absent. Alternatives like eslint-plugin-import have broader scope but don't focus on barrel files specifically.

total hits 22
actors 5 distinct systems
last hit 1d ago ByteDance
MetaBot
4
GPTBot
2
Script
1
ByteDance
1
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇸🇬 Singapore