import-js/eslint-plugin-import

import/named: wildcard export not working?

Open

#920 创建于 2017年8月23日

在 GitHub 查看
 (9 评论) (28 反应) (0 负责人)JavaScript (4,946 star) (1,540 fork)batch import
bughelp wanted

描述

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…

贡献者指南

import/named: wildcard export not working? · import-js/eslint-plugin-import#920 | Good First Issue