Skip to content

Implement no-wildcard-exports #5

Open
@illright

Description

@illright

Discourage wildcard exports export * from in public APIs.

Examples of code violating this rule:

// src/shared/ui/index.ts
export * from "./form";

Examples of code passing this rule:

// src/shared/ui/index.ts
export { Form, Field } from "./form";
export * as positions from "./tooltip-positions";

Metadata

Metadata

Assignees

Labels

PRIORITY | LOWCan wait until after releasefixableRules whose issues the linter can fix automatically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions