Reference

Linting

Rule catalog for @routecraft/eslint-plugin-routecraft.

Rules

RuleDefaultDescriptionAutofix
require-named-routeerrorEvery craft() chain must call .id(<non-empty string>) before .from()No
batch-before-fromwarn.batch() must appear before .from() -- using it after has no effect on the current routeNo
mcp-server-optionserrormcp() used as a source in .from() must include a description for AI discoverabilityNo

Presets

PresetDescription
routecraftPlugin.configs.recommendedAll rules at their default levels
routecraftPlugin.configs.allAll rules as errors

Linting

Install, configure, and customize rule severity.

Previous
Plugins
Next
Errors