-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
35 lines (26 loc) · 1.17 KB
/
.flowconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[include]
[ignore]
# Including these files causes issues.
.*/node_modules/fbjs/.*
.*/node_modules/flow-remove-types/.*
.*/node_modules/flow-coverage-report/.*
[libs]
# Official "flow-typed" repository definitions.
flow-typed/npm
# Type extensions.
tools/flow/typeExtensions/
# Note: the following definitions come bundled with flow. It can be handy
# to reference them.
# React: https://github.com/facebook/flow/blob/master/lib/react.js
# Javascript: https://github.com/facebook/flow/blob/master/lib/core.js
# Node: https://github.com/facebook/flow/blob/master/lib/node.js
# DOM: https://github.com/facebook/flow/blob/master/lib/dom.js
# BOM: https://github.com/facebook/flow/blob/master/lib/bom.js
# CSSOM: https://github.com/facebook/flow/blob/master/lib/cssom.js
# IndexDB: https://github.com/facebook/flow/blob/master/lib/indexeddb.js
[options]
# This is so that we can import static files in our webpack supported components
# and not have flow throw a hissy fit.
module.name_mapper='^\(.*\)\.\(css\|eot\|gif\|ico\|jpg\|jpeg\|less\|otf\|mp3\|mp4\|ogg\|png\|sass\|scss\|sss\|svg\|swf\|ttf\|webp\|woff\|woff2\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/WebpackAsset.js.flow'
[version]
0.37.0