.flowconfig 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [ignore]
  2. # We fork some components by platform.
  3. .*/*.android.js
  4. # Ignore templates with `@flow` in header
  5. .*/local-cli/generator.*
  6. # Ignore malformed json
  7. .*/node_modules/y18n/test/.*\.json
  8. [include]
  9. [libs]
  10. node_modules/react-native/Libraries/react-native/react-native-interface.js
  11. node_modules/react-native/flow
  12. flow/
  13. [options]
  14. module.system=haste
  15. esproposal.class_static_fields=enable
  16. esproposal.class_instance_fields=enable
  17. experimental.strict_type_args=true
  18. munge_underscores=true
  19. module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
  20. 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'
  21. suppress_type=$FlowIssue
  22. suppress_type=$FlowFixMe
  23. suppress_type=$FixMe
  24. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-7]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  25. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-7]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  26. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  27. [version]
  28. ^0.27.0