forked from facebookarchive/nuclide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
52 lines (44 loc) · 1.24 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
45
46
47
48
49
50
51
52
[include]
[ignore]
; ignore module source to prefer declaration
<PROJECT_ROOT>/node_modules/classnames/.*
<PROJECT_ROOT>/node_modules/lru-cache/.*
<PROJECT_ROOT>/node_modules/prop-types/.*
<PROJECT_ROOT>/node_modules/react/.*
<PROJECT_ROOT>/node_modules/rxjs/.*
<PROJECT_ROOT>/node_modules/semver/.*
<PROJECT_ROOT>/node_modules/jest-validate/.*
; TODO(T28589014): re-enable flow typing of graphql module
<PROJECT_ROOT>/node_modules/graphql/.*
; annotated with `@flow` but have errors
<PROJECT_ROOT>/node_modules/\(.*/\)*fbjs/lib/.*
<PROJECT_ROOT>/modules/nuclide-node-transpiler/spec/fixtures/.*
; large dirs that are not imported
<PROJECT_ROOT>/docs/.*
[libs]
flow-libs/
[options]
emoji=true
esproposal.optional_chaining=enable
experimental.const_params=true
module.use_strict=true
module.system.node.resolve_dirname=node_modules
suppress_comment=.*\\$FlowFixMe.*
suppress_comment=.*\\$FlowIssue.*
suppress_comment=.*\\$FlowIgnore.*
; uncommenting the next line will silence flow errors about missing 'fb' modules
; suppress_comment=.*\\$FlowFB.*
[lints]
untyped-type-import=error
sketchy-null=error
sketchy-null-bool=off
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
0.86.0