-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.flowconfig
44 lines (34 loc) · 1.1 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
44
[ignore]
<PROJECT_ROOT>/public/.*
<PROJECT_ROOT>/.*/__tests__/.*
; Ignore react-helmet errors
.*/node_modules/react-helmet/node_modules/fbjs/lib/.*
; Ignore react-router errors
.*/node_modules/react-router/node_modules/fbjs/lib/.*
; Ignore react-router-dom errors
.*/node_modules/react-router-dom/node_modules/fbjs/lib/.*
; Ignore redbox-react errors
.*/node_modules/redbox-react/node_modules/fbjs/lib/.*
[include]
[libs]
./node_modules/fbjs/flow/lib/dev.js
; The app's global variables are declared here
tools/flow/definitions
[options]
emoji=true
module.system=haste
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
munge_underscores=false
; Avoid CSS modules error
module.name_mapper='^\(.*\)\.\(css\|scss\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/CSSModules.js.flow'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowExpectedError
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
[version]
^0.64.0