mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Enable ban_spread_key_props in xplat/js (#47636)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47636 We're cleaning up key spreads across WWW/Fbsource. Flow's `ban_spread_key_props` option allows us to fix existing spreads and prevent new ones from being added in code covered by Flow. Here we fix spreads within xplat/js. Also based on a unit test keeping config in sync, I've added the option to metro and RN OSS as well. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D64427942 fbshipit-source-id: db8f4aa428ce1994304b5d814b9d241d26e8d522
This commit is contained in:
parent
7a5a10c95c
commit
55a4d105e7
@ -72,6 +72,8 @@ suppress_type=$FlowFixMeProps
|
|||||||
suppress_type=$FlowFixMeState
|
suppress_type=$FlowFixMeState
|
||||||
suppress_type=$FlowFixMeEmpty
|
suppress_type=$FlowFixMeEmpty
|
||||||
|
|
||||||
|
ban_spread_key_props=true
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
sketchy-null-number=warn
|
sketchy-null-number=warn
|
||||||
sketchy-null-mixed=warn
|
sketchy-null-mixed=warn
|
||||||
|
Loading…
Reference in New Issue
Block a user