This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.flowconfig
62 lines (53 loc) · 1.88 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
58
59
60
61
62
[ignore]
.*/node_modules/eslint-plugin-jsx-a11y/.*
.*/node_modules/babel-plugin-transform-react-remove-prop-types/.*
.*/node_modules/styled-components/src/.*
.*/node_modules/bcryptjs/src/.*
.*/node_modules/react-universal-component/dist/.*
.*/node_modules/node_modules/fbjs.*
.*/node_modules/node_modules/\.cache/.*
.*/node_modules/enzyme-matchers/\.*
.*/node_modules/jest-enzyme/\.*
.*/node_modules/graphql/\.*
.*/node_modules/graphql-tag/\.*
.*/node_modules/@boldr/core/\.*
.*/node_modules/draft-js/\.*
.*/node_modules/styled-components/\.*
.*/node_modules/immutable/\.*
.*/node_modules/react-apollo/\.*
.*/node_modules/@boldr/ui/\.*
.*/db/.*
.*/docs/.*
.*/build/.*
.*/public/.*
.*/.idea/.*
.*/.vscode/.*
.*/coverage/.*
<PROJECT_ROOT>/project/flow-typed/npm/styled-components/.*
.*\.test\.js
[include]
[libs]
flow-typed/npm/
<PROJECT_ROOT>/project/flow-typed/npm/
<PROJECT_ROOT>/packages/tools/flow-typed/npm/
internal/flow/defs/
[options]
emoji=true
module.system=node
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=project/src
esproposal.class_static_fields=enable
esproposal.class_instance_fields=ignore
esproposal.decorators=ignore
esproposal.export_star_as=ignore
# 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
# This is so that we can import static files in our webpack supported components
# and not have flow throw a hissy fit.
module.name_mapper='^\(.*\)\.\(css\|eot\|graphql\|gif\|ico\|jpg\|jpeg\|less\|otf\|mp3\|mp4\|ogg\|png\|sass\|scss\|sss\|svg\|swf\|ttf\|webp\|woff\|woff2\)$' -> '<PROJECT_ROOT>/internal/flow/stubs/WebpackAsset.js.flow'
module.name_mapper='^~types\/\(.*\)$' -> '<PROJECT_ROOT>/project/src/types/\1'
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
[version]
0.57.3