From 801496556bffef98d01f9e043bb426e46f0c9564 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Thu, 11 Jun 2026 06:26:16 -0700 Subject: [PATCH] Cleanup flowconfig options in react-native Summary: - All legacy casting syntax has been converted, so we remove `casting_syntax=both` to use the default option of only allowing the new `as` casting syntax - Removed all other options that are already the default value Changelog: [Internal] Differential Revision: D108281827 --- .flowconfig | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.flowconfig b/.flowconfig index 60d58c72dc7c..540baf65ae44 100644 --- a/.flowconfig +++ b/.flowconfig @@ -43,16 +43,8 @@ packages/react-native/interface.js packages/react-native/flow/ [options] -enums=true -experimental.pattern_matching=true -experimental.allow_variance_keywords=true -casting_syntax=both -component_syntax=true - emoji=true -exact_by_default=true - format.bracket_spacing=false module.file_ext=.js