import-js/eslint-plugin-import

import/named: wildcard export not working?

開放

#920 建立於 2017年8月23日

 (9 則留言) (28 個反應) (0 位負責人)JavaScript (1,549 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (5,940 顆星)
PR 合併指標
 (平均合併 138天 22小時) (30 天內合併 3 個 PR)

描述

Simplified version: a.js:

    export const a = 5

b.js:

    export * from './a'

c.js:

    import {a} from './b' 

c.js errors with import/named: export a not found in b.js

however, when I try this simplified version, there is no error for c but it also doesn't error if I import x which definitely doesn't exist. So not sure what is going on…

貢獻者指南