Skip to content

Commit 18224af

Browse files
committed
fix(changeset): the field-group-shadowed note declares the narrowing arm beside narrowed
Metadata-protocol narrowed is a breaking narrowing by definition, so the Clause-② line carries (narrowing), not (widening). Claude-Session: https://claude.ai/code/session_01L6bhgUZrkMKgGrXXe8zPGq Co-authored-by: Claude <noreply@anthropic.com>
1 parent f76bbfb commit 18224af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/35252-field-group-shadowed-six-highlights.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
fix(lint): `field-group-shadowed` judges the six highlights the record page draws, from one shared constant
88

9-
Clause-②: yes (widening)
9+
Clause-②: yes (narrowing)
1010
Metadata-protocol: narrowed
1111

1212
The default record page draws the first six of an object's `highlightFields` (after the title field leaves the list) in its header strip and leaves those fields out of the Details body. The `field-group-shadowed` warning judged only the first four, so a field group whose only member sat fifth or sixth in `highlightFields` was empty on the record page and passed `os lint --strict`. It now judges the same six, and its hint says "first 6 highlightFields".

0 commit comments

Comments
 (0)