-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy path.flowconfig
50 lines (48 loc) · 1.82 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
[ignore]
# Config related docs:
# - https://flowtype.org/docs/advanced-configuration.html
# - https://flowtype.org/docs/declarations.html
# Generally useful FlowType docs:
# - https://flowtype.org/docs/quick-reference.html
# - https://flowtype.org/docs/objects.html
# - https://flowtype.org/docs/functions.html
.*/Gruntfile.js
.*/cypress.config.js
.*/Gruntfile.dashboard.js
.*/dist/.*
.*/dist-dashboard/.*
<PROJECT_ROOT>/contracts/.*
.*/backend/dashboard/.*
.*/shared/multiformats/.*
.*/shared/blake2bstream.js
.*/frontend/assets/.*
.*/frontend/controller/service-worker.js
.*/frontend/utils/blockies.js
.*/frontend/utils/vuexQueue.js
.*/frontend/model/contracts/misc/flowTyper.js
.*/historical/.*
.*/ignored/.*
.*/node_modules/.*
.*/scripts/.*
.*/test/backend.js
.*/test/.*
.*/test/frontend.js
.*.test.js
[libs]
./shared/declarations.js
[options]
all=true
# experimental.const_params=true
emoji=true
module.ignore_non_literal_requires=true
module.name_mapper.extension='svg' -> '<PROJECT_ROOT>/frontend/views/utils/vueComponentStub.js.flow'
module.name_mapper.extension='vue' -> '<PROJECT_ROOT>/frontend/views/utils/vueComponentStub.js.flow'
# https://github.com/entwicklerstube/babel-plugin-root-import#dont-let-flow-be-confused
module.name_mapper='^~/\(.*\)$' -> '<PROJECT_ROOT>/\1'
module.name_mapper='^@components/\(.*\)$' -> '<PROJECT_ROOT>/frontend/views/components/\1'
module.name_mapper='^@containers/\(.*\)$' -> '<PROJECT_ROOT>/frontend/views/containers/\1'
module.name_mapper='^@model/\(.*\)$' -> '<PROJECT_ROOT>/frontend/model/\1'
module.name_mapper='^@pages/\(.*\)$' -> '<PROJECT_ROOT>/frontend/views/pages/\1'
module.name_mapper='^@utils/\(.*\)$' -> '<PROJECT_ROOT>/frontend/utils/\1'
module.name_mapper='^@views/\(.*\)$' -> '<PROJECT_ROOT>/frontend/views/\1'
module.name_mapper='^@view-utils/\(.*\)$' -> '<PROJECT_ROOT>/frontend/views/utils/\1'