Skip to content

Rule violations. This text is what archangel docs isolate prints.

A file in one instance of a part imports a file in a different instance of the same part, such as one feature importing another.

src/features/login/form.ts
// isolate('feature'), with src/features/{feature}/**
import { price } from '../billing/price';

isolate('feature') is the sentence:

rule({ files: 'feature', mayNotImport: 'feature', instance: 'different' })

Move what both instances need into a part they may both import, such as a shared part.