Skip to content

[code-infra] Create a custom rule for restricted imports #2184

Open
@brijeshb42

Description

@brijeshb42

Feature request

Summary

We've been using no-restricted-imports with complex configuration to restrict certain import paths. Makes sense to have a more robust rule specific to the use case.

More context here - #2054 (comment)

Examples in other libraries

Motivation

Metadata

Metadata

Assignees

Labels

scope: code-infraSpecific to the code-infra product

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions