From bd7eb45a7db235d8a5889c96cca4b8e3a4ac207b Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Thu, 19 May 2022 21:14:33 -0700 Subject: [PATCH] Enable constrain writes Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D36506286 fbshipit-source-id: 0dfe0b61a370ea5c6767552047544078f21a2a1c --- .flowconfig | 2 ++ .flowconfig.android | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.flowconfig b/.flowconfig index 43933cd5d5ee12..c857eaa1da00ed 100644 --- a/.flowconfig +++ b/.flowconfig @@ -51,6 +51,8 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty +experimental.env_mode=constrain_writes + [lints] sketchy-null-number=warn sketchy-null-mixed=warn diff --git a/.flowconfig.android b/.flowconfig.android index 2aacfc7c2e8eb4..c67ab5fb840f06 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -51,6 +51,8 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty +experimental.env_mode=constrain_writes + [lints] sketchy-null-number=warn sketchy-null-mixed=warn