Eslint-plugin-import: `export * as ns` false positive on import/named rule

Created on 18 Aug 2020  路  2Comments  路  Source: benmosher/eslint-plugin-import

// module1.js
export const hello = 'world';

// module2.js
export * as mod1 from './module1'

// module3.js
import { mod1 } from './module2'; // <-- getting "mod1 not found", triggered by `import/named` rule.

I can create a repro case if needed.

bug help wanted

All 2 comments

Thanks for the report! If you're not able to PR a fix, a PR with the failing test case would be stellar <3

1885 for failing tests. I could probs fix with some guidance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

steve-taylor picture steve-taylor  路  24Comments

kirill-konshin picture kirill-konshin  路  22Comments

yenbekbay picture yenbekbay  路  44Comments

johanneswilm picture johanneswilm  路  21Comments

sompylasar picture sompylasar  路  29Comments