Skip to content

rule-unproven

Markdown for agents

Examples and plugins. This text is what archangel docs rule-unproven prints.

A rule has no rejected example, so nothing proves that it can find a violation.

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

Add a rejected example: a small set of files that the rule must reject, such as { rejected: [{ 'src/entities/a/x.ts': "import 'react'" }] }.