import-js/eslint-plugin-import
import/named doesn't work when the target has no exports
オープン
#1,147 opened on 2018/07/30
help wanted
Repository metrics
- Stars
- (5,939 個のスター)
- PR merge metrics
- (平均マージ 138d 22h) (30d で 3 merged PRs)
説明
Given:
// a.js
console.log('This file has no exports')
// b.js
import { doesntExist } from './a'
I'd expect the import/named rule to show an error for doesntExist. It doesn't. What am I missing? Is there a way to check for this type of error?