import-js/eslint-plugin-import

no-unused-modules "missingExports" returns false positives

Open

#2,102 opened on May 27, 2021

View on GitHub
 (7 comments) (1 reaction) (0 assignees)JavaScript (1,540 forks)batch import
`exports` supportbughelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 30d)

Description

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

Contributor guide