WordPress/gutenberg

Add linting rule to fail build if package A incorrectly depends on package B

Open

#11,865 建立於 2018年11月14日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (3,893 fork)batch import
Good First IssueNeeds Dev[Type] Automated Testing[Type] Enhancement

倉庫指標

Star
 (9,607 star)
PR 合併指標
 (平均合併 12天 18小時) (30 天內合併 509 個 PR)

描述

Because we want to avoid cross-dependencies in our packages, it would be helpful if these cross-dependencies were caught by JavaScript linting.

We should add a linting rule that fails the build if package A incorrectly depends on package B.

From https://github.com/WordPress/gutenberg/pull/11409#issuecomment-438695404

貢獻者指南