forked from MoOx/phenomic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
40 lines (33 loc) · 1.12 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
[version]
^0.68.0
[ignore]
.*/__tests__/_output/.*
.*/dist/.*
# for CI
.*/watchman/.*
<PROJECT_ROOT>/coverage/.*
<PROJECT_ROOT>/benchmarks/.*/dist/.*
<PROJECT_ROOT>/benchmarks/.*/lib/.*
<PROJECT_ROOT>/examples/.*/dist/.*
<PROJECT_ROOT>/examples/.*/lib/.*
<PROJECT_ROOT>/packages/.*/dist/.*
<PROJECT_ROOT>/packages/.*/lib/.*
; please remove me when you have time to kill
<PROJECT_ROOT>/website/.*
# flow & js generated by reasonml doesn't play nice
<PROJECT_ROOT>/examples/reason-react-app/.*
; broken json
.*/node_modules/config-chain/test/.*
[options]
esproposal.class_instance_fields=enable
esproposal.class_static_fields=enable
# for Windows compat with json files
module.file_ext=.web.js
module.file_ext=.js
module.file_ext=.json
# packages/*
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)\/lib\/\(.*\)$' -> '<PROJECT_ROOT>/packages/\1/src/\2'
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)\/\(.*\)$' -> '<PROJECT_ROOT>/packages/\1/\2'
module.name_mapper='^@phenomic\/\([a-z0-9-]+\)$' -> '<PROJECT_ROOT>/packages/\1/src'
# fixup some node_modules to get proper flow types
module.name_mapper='^react-native-web$' -> 'react-native-web/src'