.flowconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. [ignore]
  2. ; We fork some components by platform
  3. .*/*[.]android.js
  4. ; Ignore templates for 'react-native init'
  5. <PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*
  6. ; Ignore RN jest
  7. <PROJECT_ROOT>/node_modules/react-native/jest/.*
  8. ; Ignore RNTester
  9. <PROJECT_ROOT>/node_modules/react-native/RNTester/.*
  10. ; Ignore the website subdir
  11. <PROJECT_ROOT>/node_modules/react-native/website/.*
  12. ; Ignore the Dangerfile
  13. <PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
  14. ; Ignore Fbemitter
  15. <PROJECT_ROOT>/node_modules/fbemitter/.*
  16. ; Ignore "BUCK" generated dirs
  17. <PROJECT_ROOT>/node_modules/react-native/\.buckd/
  18. ; Ignore unexpected extra "@providesModule"
  19. .*/node_modules/.*/node_modules/fbjs/.*
  20. ; Ignore polyfills
  21. <PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*
  22. ; Ignore various node_modules
  23. <PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
  24. <PROJECT_ROOT>/node_modules/expo/.*
  25. <PROJECT_ROOT>/node_modules/react-navigation/.*
  26. <PROJECT_ROOT>/node_modules/xdl/.*
  27. <PROJECT_ROOT>/node_modules/reqwest/.*
  28. <PROJECT_ROOT>/node_modules/metro-bundler/.*
  29. [include]
  30. [libs]
  31. node_modules/react-native/Libraries/react-native/react-native-interface.js
  32. node_modules/react-native/flow/
  33. node_modules/expo/flow/
  34. [options]
  35. emoji=true
  36. module.system=haste
  37. module.file_ext=.js
  38. module.file_ext=.jsx
  39. module.file_ext=.json
  40. module.file_ext=.ios.js
  41. munge_underscores=true
  42. 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'
  43. suppress_type=$FlowIssue
  44. suppress_type=$FlowFixMe
  45. suppress_type=$FlowFixMeProps
  46. suppress_type=$FlowFixMeState
  47. suppress_type=$FixMe
  48. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
  49. 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]+
  50. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  51. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  52. unsafe.enable_getters_and_setters=true
  53. [version]
  54. ^0.56.0