forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.flowconfig
37 lines (31 loc) · 1.16 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
[ignore]
# We vendor our src directory, which is not needed for type-checking
.*/styled-components/src/.*
.*/node_modules/*
[include]
.*/node_modules/common*
[libs]
# This is were your own flow-typed libdefs go
flow-typed
# These declarations are super explicit...
# We want to show what libdef files we need to make
# flow understand all external dependencies
#
# If you have similar dependencies, you will need to
# check which libdef files are covered by your flow-typed
# directory!
#
# A more generic approach (please use with caution!):
# node_modules/styled-components/flow-typed/*.js
node_modules/styled-components/flow-typed/react-native.js
node_modules/styled-components/flow-typed/glamor_vx.x.x.js
node_modules/styled-components/flow-typed/lodash_v4.x.x.js
node_modules/styled-components/flow-typed/react-native.js
node_modules/styled-components/flow-typed/inline-style-prefixer_vx.x.x.js
[options]
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=src
module.system.node.resolve_dirname=packages
# Yeah, we use this to ignore errors...
# Just add it, if you have a different suppress_comment notation
suppress_comment=.*\\$FlowIssue