Skip to content

Commit

Permalink
remove one_sided_type_guards option from flowconfigs (on by default) (#…
Browse files Browse the repository at this point in the history
…45349)

Summary:
Pull Request resolved: #45349

This is on by default as of version 0.239.0:

https://github.com/facebook/flow/blob/v0.239/src/commands/config/flowConfig.ml#L268

Changelog: [Internal]

Differential Revision: D59525192
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Jul 9, 2024
1 parent ef2e941 commit 9e14858
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/packages/react-nat
module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/packages/dev-middleware'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/packages/react-native/Libraries/Image/RelativeImageStub'

one_sided_type_guards=true

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
Expand Down

0 comments on commit 9e14858

Please sign in to comment.