.flowconfig 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [ignore]
  2. ; We fork some components by platform
  3. .*/*[.]android.js
  4. ; Ignore "BUCK" generated dirs
  5. <PROJECT_ROOT>/\.buckd/
  6. ; Ignore unexpected extra "@providesModule"
  7. .*/node_modules/.*/node_modules/fbjs/.*
  8. ; Ignore duplicate module providers
  9. ; For RN Apps installed via npm, "Libraries" folder is inside
  10. ; "node_modules/react-native" but in the source repo it is in the root
  11. .*/Libraries/react-native/React.js
  12. .*/Libraries/react-native/ReactNative.js
  13. ; Additional create-react-native-app ignores
  14. ; Ignore duplicate module providers
  15. .*/node_modules/fbemitter/lib/*
  16. ; Ignore misbehaving dev-dependencies
  17. .*/node_modules/xdl/build/*
  18. .*/node_modules/reqwest/tests/*
  19. ; Ignore missing expo-sdk dependencies (temporarily)
  20. ; https://github.com/expo/expo/issues/162
  21. .*/node_modules/expo/src/*
  22. ; Ignore react-native-fbads dependency of the expo sdk
  23. .*/node_modules/react-native-fbads/*
  24. [include]
  25. [libs]
  26. node_modules/react-native/Libraries/react-native/react-native-interface.js
  27. node_modules/react-native/flow
  28. flow/
  29. [options]
  30. module.system=haste
  31. emoji=true
  32. experimental.strict_type_args=true
  33. munge_underscores=true
  34. 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'
  35. suppress_type=$FlowIssue
  36. suppress_type=$FlowFixMe
  37. suppress_type=$FixMe
  38. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  39. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  40. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  41. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  42. unsafe.enable_getters_and_setters=true
  43. [version]
  44. ^0.42.0