SIGN IN SIGN UP

fix: handle direct fbt component returns (#1730)

* fix(rn-no-raw-text): suppress diagnostic for components returning only transparent text wrappers

Components whose entire return value is a transparent text wrapper (<fbt>, <fbs>, or <Fragment>) are now classified as text-producing components. This prevents false positives when such components are consumed inside <Text> elements.

Fixes #1729

Co-authored-by: Skosh <skoshx@users.noreply.github.com>

* test(rn-no-raw-text): add regression tests for issue #1729

Co-authored-by: Skosh <skoshx@users.noreply.github.com>

* chore: add changeset for issue #1729 fix

Co-authored-by: Skosh <skoshx@users.noreply.github.com>

* test: update regression tests to reflect #1729 fix limitation

Co-authored-by: Skosh <skoshx@users.noreply.github.com>

* fix: handle direct fbt component returns

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Skosh <skoshx@users.noreply.github.com>
Co-authored-by: Aiden Bai <aiden@million.dev>
S
Skosh committed
adc3a9129190315263a5fa92bda7ea3e3e2ba94a
Parent: e1d4c51
Committed by GitHub <noreply@github.com> on 8/31/2026, 1:28:17 AM