1.0.5 • Published 1 month ago

eslint-plugin-barrel-files v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

eslint-plugin-barrel-files

Barrel files are files that just re-export a bunch of things from other files. If you're using a bundler, bundlers usually apply treeshaking and dead code elimination algorithms to remove any unused code.

In many environments however, like test runners, browsers, CDN environments or server side JavaScript runtimes, treeshaking does not get applied. This means that lots of modules get loaded unnecessarily, which can cause significant performance slowdowns.

For more information, I recommend reading Speeding up the JavaScript ecosystem - The barrel file debacle

Supported Rules

1.0.5

1 month ago

1.0.4

1 month ago

1.0.3

3 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago