import-js/eslint-plugin-import

no-unused-modules "missingExports" returns false positives

Open

#2,102 建立於 2021年5月27日

在 GitHub 查看
 (7 留言) (1 反應) (0 負責人)JavaScript (4,946 star) (1,540 fork)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

貢獻者指南