Skip to content

Commit 6402c4f

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
Switch to the new glob system of ignore in metro flowconfig
Summary: Migrate to the new system that's less error prone. Changelog: [Internal] ___ Differential Revision: D114150436 fbshipit-source-id: 1adce9ef4398a279c53c7ca2b3b8e99a11368ed2
1 parent b43fcf0 commit 6402c4f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.flowconfig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[ignore]
2-
<PROJECT_ROOT>/packages/.*/build/.*
3-
<PROJECT_ROOT>/\.\(hg\|sl\|git\)/.*
2+
glob:packages/*/build/**
3+
glob:.hg/**
4+
glob:.sl/**
5+
glob:.git/**
46
# this transient dep bundles tests with their package, which flow attempts to parse
57
# and crashes out as the test includes purposely malformed json
6-
<PROJECT_ROOT>\(/.*\)?/node_modules/resolve/test/.*
8+
glob:**/node_modules/resolve/test/**
79

810
[options]
911
emoji=true

0 commit comments

Comments
 (0)