Skip to content

Instantly share code, notes, and snippets.

@knowbody
Created August 2, 2018 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knowbody/2c57ec732804797823e5c366a7808d8d to your computer and use it in GitHub Desktop.
Save knowbody/2c57ec732804797823e5c366a7808d8d to your computer and use it in GitHub Desktop.
[ignore]
; We fork some components by platform
./[.]android.js
; Ignore templates for 'react-native init'
<PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*
; Ignore RN jest
<PROJECT_ROOT>/node_modules/react-native/jest/.*
; Ignore RNTester
<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
; Ignore the website subdir
<PROJECT_ROOT>/node_modules/react-native/website/.*
; Ignore the Dangerfile
<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
; Ignore Fbemitter
<PROJECT_ROOT>/node_modules/fbemitter/.*
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/node_modules/react-native/.buckd/
; Ignore unexpected extra "@providesModule"
./node_modules/./node_modules/fbjs/.*
; Ignore polyfills
<PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*
; Ignore various node_modules
<PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
<PROJECT_ROOT>/node_modules/expo/.*
<PROJECT_ROOT>/node_modules/react-navigation/.*
<PROJECT_ROOT>/node_modules/xdl/.*
<PROJECT_ROOT>/node_modules/reqwest/.*
<PROJECT_ROOT>/node_modules/metro-bundler/.*
[include]
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/expo/flow/
[options]
emoji=true
module.system=haste
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.ios.js
munge_underscores=true
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)$' -> 'RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FixMe
suppress_comment=\(.\|\n\)\$FlowFixMe\($\|[^(]\|(\(>=0\.\(5[0-6]\|[1-4][0-9]\|[0-9]\).[0-9]\)? \(site=[a-z,]*react_native_oss[a-z,]\)?)\)
suppress_comment=\(.\|\n\)\$FlowIssue\((\(>=0\.\(5[0-6]\|[1-4][0-9]\|[0-9]\).[0-9]\)? \(site=[a-z,]*react_native_oss[a-z,]\)?)\)?:? #[0-9]+
suppress_comment=\(.\|\n\)\$FlowFixedInNextDeploy
suppress_comment=\(.\|\n\)\$FlowExpectedError
unsafe.enable_getters_and_setters=true
[version]
^0.77.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment