thepassle / eslint-plugin-barrel-files

MIT License
118 stars 10 forks source link

fix: Consider typescript definitions when detecting barrel files #7

Closed danielholmes closed 7 months ago

danielholmes commented 7 months ago

When trying to figure out if a file is a barrel file, type and interface definitions aren't being considered thus making it look like "legitimate" non-barrel files are exporting more than they're declaring.

thepassle commented 7 months ago

Thanks! Published in 1.0.5