-
Notifications
You must be signed in to change notification settings - Fork 412
/
.flowconfig
executable file
·46 lines (37 loc) · 1.61 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
[ignore]
.*\.ignore\.js
dist
[declarations]
# See https://flow.org/en/docs/config/declarations/#toc-declarations for more details.
# Preventing flow from type-checking node_modules folder (it could contain invalid files).
<PROJECT_ROOT>/node_modules/.*
[include]
[libs]
./flow-typed
./packages/webviz-core/src/globals.js.flow
[options]
emoji=true
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.optional_chaining=enable
# Cheap workaround to make flow typechecking work across packages in the monorepo
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=./packages
module.system.node.resolve_dirname=.
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/packages/webviz-core/src/types/modules/CSSModule.js.flow'
module.name_mapper.extension='md' -> '<PROJECT_ROOT>/packages/webviz-core/src/types/modules/Markdown.js.flow'
module.name_mapper.extension='ne' -> '<PROJECT_ROOT>/packages/webviz-core/src/types/modules/Nearley.js.flow'
module.name_mapper.extension='worker.js' -> '<PROJECT_ROOT>/packages/webviz-core/src/types/modules/WorkerLoader.js.flow'
# We use stringified Typescript in Node Playground.
module.name_mapper.extension='ts' -> '<PROJECT_ROOT>/packages/webviz-core/src/types/modules/Markdown.js.flow'
# Fix flow crash "SharedMem.Hash_table_full" – https://github.com/facebook/flow/issues/7132
sharedmemory.hash_table_pow=21
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.glb
module.file_ext=.bag
module.file_ext=.wasm
[lints]
# Suppress warnings about $Subtype / $Supertype in flow-typed libdefs
deprecated-utility=off