import-js/eslint-plugin-import
Vedi su GitHubimport/named: wildcard export not working?
Open
#920 aperta il 23 ago 2017
bughelp wanted
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
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…