This repository has been archived by the owner on May 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
/
.flowconfig
57 lines (44 loc) · 1.99 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
57
[ignore]
<PROJECT_ROOT>/build
<PROJECT_ROOT>/test
<PROJECT_ROOT>/node_modules/@webassemblyjs
<PROJECT_ROOT>/node_modules/eslint-plugin-jsx-a11y
<PROJECT_ROOT>/node_modules/devtools-timeline-model
<PROJECT_ROOT>/node_modules/chrome-devtools-frontend
[include]
[lints]
all=warn
[options]
emoji=true
module.system=haste
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.decorators=ignore
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowExpectedError
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*www[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*www[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
munge_underscores=false
# Using name_mapper instead of system.node.resolve_dirname due to https://github.com/facebook/flow/issues/5647
module.name_mapper='^components/\(.*\)$' -> '<PROJECT_ROOT>/app/components/\1'
module.name_mapper='^containers/\(.*\)$' -> '<PROJECT_ROOT>/app/containers/\1'
module.name_mapper='^images/\(.*\)$' -> '<PROJECT_ROOT>/app/images/\1'
module.name_mapper='^modules/\(.*\)$' -> '<PROJECT_ROOT>/app/modules/\1'
module.name_mapper='^routes/\(.*\)$' -> '<PROJECT_ROOT>/app/routes/\1'
module.name_mapper='^selectors/\(.*\)$' -> '<PROJECT_ROOT>/app/selectors/\1'
module.name_mapper='^theme/\(.*\)$' -> '<PROJECT_ROOT>/app/theme/\1'
module.name_mapper='^utils/\(.*\)$' -> '<PROJECT_ROOT>/app/utils/\1'
module.name_mapper='^store$' -> '<PROJECT_ROOT>/app/store'
module.name_mapper='^types$' -> '<PROJECT_ROOT>/app/types'
module.file_ext=.css
module.file_ext=.scss
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
include_warnings=true
# Avoid SCSS module untyped-import warnings
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/flow-interfaces/SCSSFlowStub.js'