2017-01-26 11:49:39 -08:00
|
|
|
[ignore]
|
|
|
|
; We fork some components by platform
|
|
|
|
.*/*[.]android.js
|
|
|
|
|
|
|
|
; Ignore templates for 'react-native init'
|
|
|
|
.*/local-cli/templates/.*
|
|
|
|
|
|
|
|
; Ignore the website subdir
|
|
|
|
.*/node_modules/react-native/website/.*
|
|
|
|
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
|
|
.*/node_modules/react-native/\.buckd/
|
|
|
|
|
|
|
|
; Ignore unexpected extra "@providesModule"
|
|
|
|
.*/node_modules/.*/node_modules/fbjs/.*
|
|
|
|
|
2017-04-13 00:49:08 +02:00
|
|
|
; Ignore website node_modules react and react-native
|
|
|
|
<PROJECT_ROOT>/website/node_modules/react/.*
|
|
|
|
<PROJECT_ROOT>/website/node_modules/react-native/.*
|
|
|
|
<PROJECT_ROOT>/website/node_modules/fbjs/.*
|
|
|
|
|
2017-05-14 12:14:12 -07:00
|
|
|
; Ignore misc packages
|
|
|
|
.*/node_modules/eslint-.*
|
2017-07-03 14:59:21 -07:00
|
|
|
.*/node_modules/react-native-tab-view/.*
|
2017-05-14 12:14:12 -07:00
|
|
|
|
2017-07-03 14:59:21 -07:00
|
|
|
; Ignore react-native
|
|
|
|
.*/node_modules/react-native/.*
|
2017-01-26 11:49:39 -08:00
|
|
|
|
|
|
|
<PROJECT_ROOT>/lib
|
|
|
|
<PROJECT_ROOT>/lib-rn
|
|
|
|
<PROJECT_ROOT>/examples
|
|
|
|
|
|
|
|
[include]
|
|
|
|
|
|
|
|
[libs]
|
|
|
|
|
|
|
|
[options]
|
|
|
|
module.system=haste
|
|
|
|
|
|
|
|
experimental.strict_type_args=true
|
|
|
|
|
|
|
|
munge_underscores=true
|
|
|
|
|
2017-07-03 15:06:08 -07:00
|
|
|
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/stubs/RelativeImageStub.js.flow'
|
2017-07-03 14:59:21 -07:00
|
|
|
module.file_ext=.js
|
|
|
|
module.file_ext=.jsx
|
|
|
|
module.file_ext=.json
|
|
|
|
module.file_ext=.native.js
|
2017-01-26 11:49:39 -08:00
|
|
|
|
|
|
|
suppress_type=$FlowIssue
|
|
|
|
suppress_type=$FlowFixMe
|
|
|
|
suppress_type=$FixMe
|
|
|
|
|
2017-05-14 13:48:25 -07:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
|
2017-01-26 11:49:39 -08:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
2017-04-09 12:08:20 +02:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
2017-01-26 11:49:39 -08:00
|
|
|
|
|
|
|
unsafe.enable_getters_and_setters=true
|