[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: |
|
||||||||||||
| 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. |