From 3c6885055570414f8dbff93f4daf57479286a5d6 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Wed, 29 Jul 2026 12:13:32 -0700 Subject: [PATCH] Switch to the new glob system of ignore in react-native flowconfig Summary: MIgrate to the new system that's less error prone. Changelog: [Internal] Differential Revision: D114093108 --- .flowconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.flowconfig b/.flowconfig index f59426f849f..cf91053ca5a 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,33 +1,33 @@ [ignore] ; Ignore build cache folder -/packages/react-native/sdks/.* +glob:packages/react-native/sdks/** ; Ignore fb_internal modules -/packages/react-native/src/fb_internal/.* +glob:packages/react-native/src/fb_internal/** ; Ignore the codegen e2e tests -/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js +glob:packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js ; Ignore "BUCK" generated dirs -/\.buckd/ +glob:.buckd/** ; Ignore other platform suffixes -.*\.macos\.js$ -.*\.windows\.js$ +glob:**/*.macos.js +glob:**/*.windows.js -.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$ +glob:**/node_modules/resolve/test/resolver/malformed_package_json/package.json ; Checked-in build output -/packages/debugger-frontend/dist/ +glob:packages/debugger-frontend/dist/** ; Generated build output -/packages/.*/dist +glob:packages/*/dist/** ; helloworld -/private/helloworld/ios/Pods/ +glob:private/helloworld/ios/Pods/** ; Ignore rn-tester Pods -/packages/rn-tester/Pods/ +glob:packages/rn-tester/Pods/** [untyped] .*/node_modules/@react-native-community/cli/.*/.*