Skip to main content

Variable: createTypedRule

const createTypedRule: PluginRuleCreator;

Defined in: _internal/typed-rule.ts:81

Rule-creator wrapper used by all plugin rules.

Remarksโ€‹

This wrapper automatically registers per-program plugin settings and injects canonical meta.docs.ruleId / meta.docs.ruleNumber values for cataloged public rules.

Paramโ€‹

ruleDefinition

Rule module definition passed to ESLintUtils.RuleCreator.

Returnsโ€‹

Rule module factory output that auto-registers program settings and preserves the authored rule contract.