{"library":"eslint-plugin-barrel-files","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","eslint","eslintplugin","eslint-plugin","barrel","barrelfiles"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-barrel-files","imports":["import plugin from 'eslint-plugin-barrel-files';","import plugin from 'eslint-plugin-barrel-files';\nexport default [\n  ...plugin.configs.recommended\n];","// flat config:\n{\n  rules: {\n    'barrel-files/avoid-barrel-files': 'error'\n  }\n}"]},{"cmd":"yarn add eslint-plugin-barrel-files","imports":[]},{"cmd":"pnpm add eslint-plugin-barrel-files","imports":[]}],"homepage":null,"github":"https://github.com/thepassle/eslint-plugin-barrel-files","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-barrel-files","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-barrel-files/compatibility"}}