[ignore]

# TODO: unignore react-native when we upgrade to .16
.*/node_modules/react-native

# TODO: unignore these:
.*/react/index.js
.*/react/router/global-routes.js
.*/react/nav.android.js
.*/react/nav.ios.js
.*/react/login/.*
.*/react/login2/.*
.*/react/profile/.*
.*/react/search/.*
.*/react/local-debug.js

# Ignoring these for now
.*/desktop/.*
.*/node_modules/redux-devtools/.*
.*/node_modules/react-redux/node_modules/invariant/.*
.*/react/packager/.*
.*/react/purepack/.*
.*/react/framed-msgpack-rpc/.*
.*/react/iced-error/.*
.*/react/debug/.*

# Ignore .*-render.platform.js files
.*-render\.android\.js
.*-render\.ios\.js
.*-render\.mobile\.js
.*-render\.desktop\.js

# Some react native errors in flow type
.*/node_modules/react-native/Libraries/Animated/src/Interpolation.js

# We fork some components by platform.
.*/*.web.js
.*/*.android.js

# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*

# Ignore react-tools where there are overlaps, but don't ignore anything that
# react-native relies on
.*/node_modules/react-tools/src/React.js
.*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
.*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
.*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js

# Ignore commoner tests
.*/node_modules/commoner/test/.*

# See https://github.com/facebook/flow/issues/442
.*/react-tools/node_modules/commoner/lib/reader.js

# Ignore jest
.*/node_modules/jest-cli/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
react/flow-interface.js
react/immutable-interface.js

[options]
module.system=haste

munge_underscores=true

module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.png$' -> 'RelativeImageStub'
module.name_mapper='^\..*base-react$' -> 'React'

module.name_mapper='^\..*resolve-assets' -> 'resolveAssets'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-7]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-7]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue

[version]
0.20.1
