-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flowconfig
43 lines (32 loc) · 1.43 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
43
[include]
[ignore]
# Including these files causes issues.
.*/node_modules/config-chain/.*
.*/node_modules/fbjs/.*
.*/node_modules/findup/.*
.*/node_modules/flow-coverage-report/.*
.*/node_modules/npmconf/.*
[libs]
# Official "flow-typed" repository definitions.
flow-typed/npm
# Custom definitions.
tools/flow/definitions/
# 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'
# Sometimes we expect a flow error, and don't want to fix it. e.g. in our tests.
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
# Mark a flow error as to be fixed later
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
[version]
0.37.4