You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that no-unused-modules with unusedExports trips up on this syntax:
a.js:
exportfunctiona(){}// The following line will wrongly error as unused:exportfunctionaa(){}
b.js:
import{a}from'./a';export{aa}from'./a';
I've tracked this down to this line in the src, which overwrites any previously detected reexports. The proposed fix is to do something like what is already being done in these lines to keep both reexported entries and imports.
I can give a shot at throwing together a PR if this looks reasonable?
The text was updated successfully, but these errors were encountered:
I noticed that
no-unused-modules
with unusedExports trips up on this syntax:a.js:
b.js:
I've tracked this down to this line in the src, which overwrites any previously detected reexports. The proposed fix is to do something like what is already being done in these lines to keep both reexported entries and imports.
I can give a shot at throwing together a PR if this looks reasonable?
The text was updated successfully, but these errors were encountered: