Skip to content

Commit c73e779

Browse files
committed
docs(lint): fieldRuleRootIssue's docblock counts the docs gate's slots as four, settledWhen included
Claude-Session: https://claude.ai/code/session_01VZqqwTj2wsihZEbfT6yyYN Co-authored-by: Claude <noreply@anthropic.com>
1 parent d0af72c commit c73e779

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎packages/lint/src/validate-expressions.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,9 +915,10 @@ const FIELD_RULE_SLOT_CONSEQUENCE: Record<string, string> = {
915915
* every surface that judges a field-level `*When` stands on the same verdict
916916
* AND the same message (Prime Directive #12). Two consumers today: the
917917
* metadata walk in {@link validateStackExpressions} below, and the docs-corpus
918-
* gate `scripts/check-doc-formula-expressions.mjs`, which judges the same three
919-
* slots where a fenced example's enclosing structure identifies the field layer
920-
* (#11407). Before that gate existed this lived as a closure inside the walk —
918+
* gate `scripts/check-doc-formula-expressions.mjs`, which judges the same
919+
* field-rule slots (the three siblings, and since #22227 a deadline's
920+
* `settledWhen`) where a fenced example's enclosing structure identifies the
921+
* field layer (#11407). Before that gate existed this lived as a closure inside the walk —
921922
* fine while there was one caller, and exactly how a second caller comes to own
922923
* a DIALECT of the rule instead of the rule.
923924
*

0 commit comments

Comments
 (0)