import-js / import-js/eslint-plugin-import
no-unused-modules "missingExports" returns false positives
Open
`exports` support
bug
help wanted
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No 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
Research direction
Start with the no-unused-modules rule and its missingExports behavior, then reproduce the two examples from the issue: an empty module.exports object and an export-all declaration. Done means neither case produces a false-positive missing-exports report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100