import-js/eslint-plugin-import

no-unused-modules "missingExports" returns false positives

Open

#2102 aperta il 27 mag 2021

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)JavaScript (1540 fork)batch import
`exports` supportbughelp wanted

Metriche repository

Star
 (4946 star)
Metriche merge PR
 (Merge medio 138g 22h) (3 PR mergiate in 30 g)

Descrizione

I'd expect both of these cases to count as exports:

module.exports = {} // Should probably not trigger

export * from './someFile' // Should almost definitely not trigger

Guida contributor