Skip to content

Commit 611b1e8

Browse files
robhoganmeta-codesync[bot]
authored andcommitted
Flow-ignore .git and .sl
Summary: When working in a Git or Sapling clone of Metro OSS, Flow finds files inside checkout metadata. If these are in a bad state, it gives inactionable local errors, eg: ``` Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ .git/sl/origbackups/packages/metro-file-map/src/__tests__/index-test.js:1710:35 Cannot use <...> ``` This ignores them. Changelog: Internal Differential Revision: D109152977 fbshipit-source-id: ab2ad0e3f67e984ab545bf11289f0646fdd900b7
1 parent bba9734 commit 611b1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[ignore]
22
<PROJECT_ROOT>/packages/.*/build/.*
3-
<PROJECT_ROOT>/\.hg/.*
3+
<PROJECT_ROOT>/\.\(hg\|sl\|git\)/.*
44
# this transient dep bundles tests with their package, which flow attempts to parse
55
# and crashes out as the test includes purposely malformed json
66
<PROJECT_ROOT>\(/.*\)?/node_modules/resolve/test/.*

0 commit comments

Comments
 (0)