import-js/eslint-plugin-import

import/no-unused-modules doesn't work in monorepo

Open

#3,013 建立於 2024年6月12日

在 GitHub 查看
 (15 留言) (2 反應) (0 負責人)JavaScript (4,946 star) (1,540 fork)batch import
bughelp wanted

描述

I'm using a turborepo monorepo and I'm seeing if packages/A/a.ts imports from packages/B/b.ts, the b.ts will have it's exports marked as "not used within other modules".

貢獻者指南

import/no-unused-modules doesn't work in monorepo · import-js/eslint-plugin-import#3013 | Good First Issue