Skip to content

Commit 864bc7b

Browse files
authored
Update ignores in flowconfig (facebook#7722)
This ensures we ignore relative to our project root and won't be tripped up by issues where checkouts in other places result in Flow passing when it shouldn't (eg on Travis CI where the checkout path is `/home/travis/build/facebook/react`)
1 parent 79367b0 commit 864bc7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.flowconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[ignore]
22

3-
.*/examples/.*
4-
.*/build/.*
5-
.*/node_modules/y18n/.*
6-
.*/__mocks__/.*
7-
.*/__tests__/.*
3+
<PROJECT_ROOT>/examples/.*
4+
<PROJECT_ROOT>/build/.*
5+
<PROJECT_ROOT>/.*/node_modules/y18n/.*
6+
<PROJECT_ROOT>/.*/__mocks__/.*
7+
<PROJECT_ROOT>/.*/__tests__/.*
88

99
# Ignore Docs
10-
.*/docs/.*
10+
<PROJECT_ROOT>/.*/docs/.*
1111

1212
[include]
1313

0 commit comments

Comments
 (0)