react-native-navigation的迁移库

.flowconfig 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [ignore]
  2. # We fork some components by platform.
  3. .*/*.web.js
  4. .*/*.android.js
  5. # Some modules have their own node_modules with overlap
  6. .*/node_modules/node-haste/.*
  7. # Ugh
  8. .*/node_modules/babel.*
  9. .*/node_modules/babylon.*
  10. .*/node_modules/invariant.*
  11. # Ignore react and fbjs where there are overlaps, but don't ignore
  12. # anything that react-native relies on
  13. .*/node_modules/fbjs/lib/Map.js
  14. .*/node_modules/fbjs/lib/Promise.js
  15. .*/node_modules/fbjs/lib/fetch.js
  16. .*/node_modules/fbjs/lib/ExecutionEnvironment.js
  17. .*/node_modules/fbjs/lib/isEmpty.js
  18. .*/node_modules/fbjs/lib/crc32.js
  19. .*/node_modules/fbjs/lib/ErrorUtils.js
  20. # Flow has a built-in definition for the 'react' module which we prefer to use
  21. # over the currently-untyped source
  22. .*/node_modules/react/react.js
  23. .*/node_modules/react/lib/React.js
  24. .*/node_modules/react/lib/ReactDOM.js
  25. # Ignore commoner tests
  26. .*/node_modules/commoner/test/.*
  27. # See https://github.com/facebook/flow/issues/442
  28. .*/react-tools/node_modules/commoner/lib/reader.js
  29. # Ignore jest
  30. .*/node_modules/jest-cli/.*
  31. # Ignore Website
  32. .*/website/.*
  33. [include]
  34. [libs]
  35. node_modules/react-native/Libraries/react-native/react-native-interface.js
  36. [options]
  37. module.system=haste
  38. munge_underscores=true
  39. module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
  40. 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\)$' -> 'RelativeImageStub'
  41. suppress_type=$FlowIssue
  42. suppress_type=$FlowFixMe
  43. suppress_type=$FixMe
  44. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  45. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-1]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  46. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  47. [version]
  48. 0.21.0