forked from strues/react-universal-boiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
53 lines (40 loc) · 1.62 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
[ignore]
<PROJECT_ROOT>/coverage/.*
<PROJECT_ROOT>/build/.*
<PROJECT_ROOT>/tools/.*
<PROJECT_ROOT>/.*/__mocks__/.*
<PROJECT_ROOT>/.*/__tests__/.*
<PROJECT_ROOT>/node_modules/react-universal-component/dist/.*
<PROJECT_ROOT>/node_modules/styled-components/.*
<PROJECT_ROOT>/node_modules/webpack-flush-chunks/.*
[include]
[libs]
flow-typed/npm
tools/flow/defs
[lints]
[options]
emoji=true
module.system=node
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
unsafe.enable_getters_and_setters=true
# Set this to true and Flow will no longer complain when you use require() with something other than a string literal.
module.ignore_non_literal_requires=true
munge_underscores=false
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=src
module.name_mapper='^\(.*\)\.\(css\|scss\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/CSSModules.js.flow'
module.name_mapper='.*\.\(html\|scss\|svg\|png\|jpg\|gif\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/WebpackAssets.js.flow'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowToDo
suppress_type=$FlowExpectedError
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowIssue
suppress_comment= \\(.\\|\n\\)*\\$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\\)*\\$FlowExpectedError
[version]
^0.56.0