-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.flowconfig
28 lines (23 loc) · 1.03 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
[ignore]
.*/public/.*
.*/node_modules/oboe/test/*
.*/node_modules/module-deps/test/*
.*/node_modules/@colony/purser-core/es/utils.js.flow
[include]
.*/scripts/.*
.*/src/.*
[libs]
[lints]
[options]
module.name_mapper='^\~context\/?\(.*\)$' -> '<PROJECT_ROOT>/src/context/\1'
module.name_mapper='^\~hoc\/?\(.*\)$' -> '<PROJECT_ROOT>/src/hoc/\1'
module.name_mapper='^\~hooks\/?\(.*\)$' -> '<PROJECT_ROOT>/src/hooks/\1'
module.name_mapper='^\~i18n\/?\(.*\)$' -> '<PROJECT_ROOT>/src/i18n/\1'
module.name_mapper='^\~i18nConfig\/?\(.*\)$' -> '<PROJECT_ROOT>/i18nConfig.js\1'
module.name_mapper='^\~routes\/?\(.*\)$' -> '<PROJECT_ROOT>/src/routes/\1'
module.name_mapper='^\~static\/?\(.*\)$' -> '<PROJECT_ROOT>/static/\1'
module.name_mapper='^\~styles\/?\(.*\)$' -> '<PROJECT_ROOT>/src/styles/\1'
module.name_mapper='^\~types\/?\(.*\)$' -> '<PROJECT_ROOT>/src/types/\1'
module.name_mapper='^\~utils\/?\(.*\)$' -> '<PROJECT_ROOT>/src/utils/\1'
module.name_mapper='\~\([a-zA-Z0-9\-\_]+\)\/\(.*\)' -> '<PROJECT_ROOT>/src/modules/\1/components/\2'
[strict]