fix(linter): do not flag ALL-CAPS methods in react/capitalized-calls

Closed
BA
1mo ago
+12-1

Summary

react/capitalized-calls already skips ALL-CAPS globals (CONSTANTS()), but PropertyLoad treated any capitalized method name as a component. That false-positives Date.UTC(...).

Skip ALL-CAPS property names the same way as LoadGlobal.

Fixes #26678

Test plan

  • cargo test -p oxc_linter --lib rules::react::capitalized_calls