Skip to content

Commit 8e74464

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
Switch to the new glob system of ignore in react-native flowconfig (#57758)
Summary: Pull Request resolved: #57758 MIgrate to the new system that's less error prone. Changelog: [Internal] Reviewed By: gkz Differential Revision: D114093108 fbshipit-source-id: f4ca00a8b6a1fa25f0f5f5054b7fe091861fed4b
1 parent c5bd054 commit 8e74464

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.flowconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
[ignore]
22
; Ignore build cache folder
3-
<PROJECT_ROOT>/packages/react-native/sdks/.*
3+
glob:packages/react-native/sdks/**
44

55
; Ignore fb_internal modules
6-
<PROJECT_ROOT>/packages/react-native/src/fb_internal/.*
6+
glob:packages/react-native/src/fb_internal/**
77

88
; Ignore the codegen e2e tests
9-
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
9+
glob:packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
1010

1111
; Ignore "BUCK" generated dirs
12-
<PROJECT_ROOT>/\.buckd/
12+
glob:.buckd/**
1313

1414
; Ignore other platform suffixes
15-
.*\.macos\.js$
16-
.*\.windows\.js$
15+
glob:**/*.macos.js
16+
glob:**/*.windows.js
1717

18-
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
18+
glob:**/node_modules/resolve/test/resolver/malformed_package_json/package.json
1919

2020
; Checked-in build output
21-
<PROJECT_ROOT>/packages/debugger-frontend/dist/
21+
glob:packages/debugger-frontend/dist/**
2222

2323
; Generated build output
24-
<PROJECT_ROOT>/packages/.*/dist
24+
glob:packages/*/dist/**
2525

2626
; helloworld
27-
<PROJECT_ROOT>/private/helloworld/ios/Pods/
27+
glob:private/helloworld/ios/Pods/**
2828

2929
; Ignore rn-tester Pods
30-
<PROJECT_ROOT>/packages/rn-tester/Pods/
30+
glob:packages/rn-tester/Pods/**
3131

3232
[untyped]
3333
.*/node_modules/@react-native-community/cli/.*/.*

0 commit comments

Comments
 (0)