no-cycles
Markdown for agentsRule violations. This text is what archangel docs no-cycles prints.
A group of files import each other, so each can reach the others. The diagnostic lists every file in the group and shows its shortest cycle.
Example
Section titled “Example”// rule({ files: 'src/**', noCycles: true })import { b } from './b';// src/b.tsimport { a } from './a';What to do
Section titled “What to do”Remove one import of the cycle, or move what both files need into a third file that neither imports. Type imports do not count unless the rule says imports: 'all'.