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
importWhateverfrom'./whatever'Whatever.someThing// Reported: someThing exported as named export alongside Whatever.
Would be unusable/noisy if there are static fields on a default export that match exported fields (i.e. lodash) but that seems fine.
I.e.
import_,{isEmpty}from'lodash'
would report on _.isEmpty, etc. (assuming lodash exported ES modules). so you could only use the default export for chaining (i.e. _(thing).isEmpty()) which makes sense, otherwise you'd want * as _ anyway.
The text was updated successfully, but these errors were encountered:
Given:
Warn on:
Would be unusable/noisy if there are static fields on a default export that match exported fields (i.e. lodash) but that seems fine.
I.e.
would report on
_.isEmpty
, etc. (assuming lodash exported ES modules). so you could only use the default export for chaining (i.e._(thing).isEmpty()
) which makes sense, otherwise you'd want* as _
anyway.The text was updated successfully, but these errors were encountered: