Eslint-plugin-import: "`null` import" should occur before relative imports with TS `import =` syntax

Created on 12 Jun 2020  路  1Comment  路  Source: benmosher/eslint-plugin-import

I am encountering the following issue when trying to import individual members from a TS namespace:

image

This was last working without issue on v2.20.2. It first became an error in v2.21.0, but I saw there were some other issues opened around the same time about import = syntax, so I wanted to wait and see if it would be fixed in any of the subsequent releases.

Here is a repo with a recreation of the issue.

bug

Most helpful comment

Sorry, that's my bad - looks like the changes I've made caused object-imports to fail.
I just set up a PR to fix it, stay tuned

>All comments

Sorry, that's my bad - looks like the changes I've made caused object-imports to fail.
I just set up a PR to fix it, stay tuned

Was this page helpful?
0 / 5 - 0 ratings

Related issues

msuntharesan picture msuntharesan  路  29Comments

JustFly1984 picture JustFly1984  路  41Comments

nkt picture nkt  路  51Comments

rhettlivingston picture rhettlivingston  路  31Comments

Robinfr picture Robinfr  路  27Comments