forked from expo/xde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
42 lines (33 loc) · 1.01 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
36
37
38
39
40
41
42
[ignore]
<PROJECT_ROOT>/gulp/.*
<PROJECT_ROOT>/build/.*
<PROJECT_ROOT>/app/build/.*
<PROJECT_ROOT>/app/web/.*
<PROJECT_ROOT>/dev/.*
# Node modules
<PROJECT_ROOT>/node_modules/babel-plugin-flow-react-proptypes/.*
<PROJECT_ROOT>/app/node_modules/fbjs/.*
<PROJECT_ROOT>/node_modules/fbjs/.*
.*node_modules/reqwest/tests.*
# Other dev tools
.*/exp/.*
.*/xdl/build/.*
.*/node_modules/xdl/.*
[include]
../
[options]
module.system=haste
esproposal.decorators=ignore
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.export_star_as=enable
unsafe.enable_getters_and_setters=true
suppress_comment=.*\\$FlowFixMe
suppress_comment=.*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowNewLine
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=app/node_modules
module.name_mapper='^xde/\(.*\)$' -> '<PROJECT_ROOT>/src/\1'
# XDL
module.name_mapper='^xdl$' -> '<PROJECT_ROOT>/../xdl/src/xdl.js'
module.name_mapper='^xdl/build/\(.*\)$' -> '<PROJECT_ROOT>/../xdl/src/\1'