import-js/eslint-plugin-import

no-unused-modules "missingExports" returns false positives

Open

#2,102 opened on 2021年5月27日

GitHub で見る
 (7 comments) (1 reaction) (0 assignees)JavaScript (4,946 stars) (1,540 forks)batch import
`exports` supportbughelp wanted

説明

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

コントリビューターガイド

no-unused-modules "missingExports" returns false positives · import-js/eslint-plugin-import#2102 | Good First Issue