Why this matters
Stable package imports preserve boundaries and avoid duplicate module copies and cyclic graphs.
In JS/TS workspaces, imports must use workspace package names (as defined in each package.json and exports) rather than relative paths crossing package boundaries.
Stable package imports preserve boundaries and avoid duplicate module copies and cyclic graphs.
Side-by-side examples engineers can pattern-match during review.
import { Button } from "../../ui/src/Button"import { Button } from "@acme/ui"import x from "../../other-pkg/index"import x from "@acme/other-pkg"From the same buckets as this rule.