forked from Opentrons/opentrons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
56 lines (50 loc) · 1.37 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
53
54
55
56
[ignore]
.*/test/.*
.*/coverage/.*
.*/docs/.*
<PROJECT_ROOT>/api/.*
<PROJECT_ROOT>/api-server-lib/.*
<PROJECT_ROOT>/audio/.*
<PROJECT_ROOT>/compute/.*
<PROJECT_ROOT>/update-server/.*
<PROJECT_ROOT>/shared-data/python/.*
<PROJECT_ROOT>/robot-server/.*
<PROJECT_ROOT>/notify-server/.*
[declarations]
; read type signatures from node_modules but ignore flow errors within
.*/node_modules/.*
<PROJECT_ROOT>/components/flow-types/.*
<PROJECT_ROOT>/shared-data/flow-types/.*
[include]
[libs]
[lints]
deprecated-type=warn
implicit-inexact-object=warn
sketchy-null=warn
sketchy-number=warn
unnecessary-optional-chain=warn
untyped-type-import=error
[options]
module.name_mapper.extension='css' -> '@opentrons/components/interfaces/CSSModule.js'
module.ignore_non_literal_requires=true
module.system.node.main_field=flow:main
module.system.node.main_field=main
merge_timeout=300
esproposal.optional_chaining=enable
; default value of 19 (16 * 2^19 bytes > 8ish MB) isn't quite enough and can
; result in flow crashing with `Unhandled exception: SharedMem.Hash_table_full`
sharedmemory.hash_table_pow=21
; enable types-first mode for speed and explicitness
; https://flow.org/en/docs/lang/types-first/
types_first=true
[strict]
deprecated-type
implicit-inexact-object
nonstrict-import
sketchy-null
sketchy-number
unclear-type
unnecessary-optional-chain
unsafe-getters-setters
untyped-import
untyped-type-import