Skip to content

Commit

Permalink
Enable constrain writes
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D36506286

fbshipit-source-id: 0dfe0b61a370ea5c6767552047544078f21a2a1c
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed May 20, 2022
1 parent 4ec75b1 commit bd7eb45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd7eb45

Please sign in to comment.