Skip to content

rule-name-duplicate

Markdown for agents

Config problems. This text is what archangel docs rule-name-duplicate prints.

Two rules have the same name, often the default name of two rules about the same files, such as mayNotImport(entity, react). Exceptions and the baseline refer to rules by name, so each needs its own.

rule({ files: 'entity', mayNotImport: 'react' }),
rule({ files: 'entity', mayNotImport: 'react', imports: 'runtime' }),

Give each rule its own name option.