-
Notifications
You must be signed in to change notification settings - Fork 3
/
.flowconfig
44 lines (34 loc) · 904 Bytes
/
.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]
; Ignore components that we dont care if they match our flow
.*/node_modules/.*
.*__tests__.*
[untyped]
.*/node_modules/express-graphql/.*
.*/node_modules/graphql/.*
.*/node_modules/mapbox-gl/src/.*
[options]
esproposal.optional_chaining=enable
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
suppress_comment= \\(.\\|\n\\)*\\$FlowIssue
[lints]
all=warn
# There is an ESLint rule for this
unclear-type=off
# We dont want this -- see https://github.com/facebook/flow/issues/7473
dynamic-export=off
sketchy-null=off
sketchy-null-number=warn
sketchy-null-mixed=warn
# This is noisy for now. We *do* still want to warn on importing types
# from untyped files, which is covered by untyped-type-import
untyped-import=off
[strict]
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.126.1