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

贡献者指南