[ESCONF-33] new rule: do not import from private stripes-* paths Created: 05/Sep/23  Updated: 05/Sep/23

Status: Open
Project: eslint-config-stripes
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: TBD
Reporter: Zak Burke Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to STRIPES-883 prefer @folio/stripes exports to priv... Open
relates to STRIPES-751 prefer @folio/stripes exports to priv... Closed
Sprint:
Story Points: 2
Development Team: Stripes Force
RCA Group: TBD

 Description   

Summary: Write a lint rule that errors when importing from private stripes-* paths such as @folio/stripes-components/lib/whatever.

Legal

import { Foo } from '@folio/stripes/components';

Illegal

import { Foo } from '@folio/stripes-components/lib/Foo';

Note: We'll need to override and ignore this rule in .eslintconfig in the repos that constitute @folio/stripes.


Generated at Thu Feb 08 22:15:03 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.