Update ignores in flowconfig (#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`)
Paul O’Shannessy committed
Sep 14, 2016 at 14:57 UTC
864bc7b939ca8a93583087d1ff596cd8049b4162
1 file changed
+6
-6
.flowconfig
+6
-6
@@ -1,13 +1,13 @@
1
[ignore]
2
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__/.*
8
9
# Ignore Docs
10
-.*/docs/.*
10
+<PROJECT_ROOT>/.*/docs/.*
11
12
[include]
13