import-js: Gets tripped up by imports that don't assign to variables

I have seen the following code:

import './foo';

which import-js doesn’t think is an import statement, causing problems with things like sorting and grouping.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16

Commits related to this issue

Most upvoted comments

@rhettlivingston You’ve made good contributions to this project, so I’ve added you as a collaborator! We prefer to send most changes through PRs so that they can be code reviewed by others before hitting master. Welcome aboard!

Nope, I wasn’t planning on doing so. Go ahead!