react/.flowconfig

36 lines
760 B
Plaintext
Raw Normal View History

2019-01-23 03:04:37 +08:00
[ignore]
.*/react/node_modules/.*
.*/electron/node_modules/.*
.*node_modules/archiver-utils
.*node_modules/babel.*
.*node_modules/browserify-zlib/.*
.*node_modules/gh-pages/.*
.*node_modules/invariant/.*
.*node_modules/json-loader.*
.*node_modules/json5.*
.*node_modules/node-libs-browser.*
.*node_modules/webpack.*
.*node_modules/fbjs/flow.*
.*node_modules/web-ext.*
2019-01-24 10:06:21 +08:00
shells/browser/chrome/build/*
shells/browser/firefox/build/*
shells/dev/build/*
2019-01-23 03:04:37 +08:00
[include]
[libs]
/flow-typed/
2019-01-23 03:04:37 +08:00
./flow.js
[lints]
[options]
Fix Flow failure on CircleCI due to the number of workers https://github.com/flowtype/flow-bin/issues/138#issuecomment-448416874 https://github.com/flowtype/flow-bin/issues/138#issuecomment-450367472 > This will stop flow from trying to consume too many virtual CPUs (which CircleCI doesn't actually provide), letting it run to completion without first running out of memory and killing its sub processes. The log output in CircleCI was: https://circleci.com/gh/bvaughn/react-devtools-experimental/201 ``` #!/bin/bash -eo pipefail yarn flow yarn run v1.10.1 $ /home/circleci/repo/node_modules/.bin/flow Launching Flow server for /home/circleci/repo Spawned flow server (pid=259) Logs will go to /tmp/flow/zShomezScirclecizSrepo.log Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log Launching Flow server for /home/circleci/repo Spawned flow server (pid=361) Logs will go to /tmp/flow/zShomezScirclecizSrepo.log Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log Launching Flow server for /home/circleci/repo Spawned flow server (pid=464) Logs will go to /tmp/flow/zShomezScirclecizSrepo.log Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log Launching Flow server for /home/circleci/repo Spawned flow server (pid=567) Logs will go to /tmp/flow/zShomezScirclecizSrepo.log Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log Lost connection to the flow server (0 retries remaining): -Out of retries, exiting! error Command failed with exit code 7. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Exited with code 1 ```
2019-04-30 12:56:53 +08:00
server.max_workers=4
2019-01-23 03:04:37 +08:00
esproposal.class_instance_fields=enable
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
module.name_mapper='^src' ->'<PROJECT_ROOT>/src'
[strict]