.flowconfig 1.47 KB
Newer Older
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[ignore]

# 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
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
24 25 26 27
.*/node_modules/jest-cli/.*

# Ignore Website
.*/website/.*
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
28 29 30 31 32 33 34 35 36

[include]

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

[options]
module.system=haste

Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
37 38 39 40 41
munge_underscores=true

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

Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
42 43 44 45
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
46 47
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]+
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
48 49 50
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy

[version]
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
51
0.17.0