No Description

.flowconfig 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. # Ignore the website subdir
  9. <PROJECT_ROOT>/website/.*
  10. # Ignore BUCK generated dirs
  11. <PROJECT_ROOT>/\.buckd/
  12. # Ignore unexpected extra @providesModule
  13. .*/node_modules/commoner/test/source/widget/share.js
  14. .*/node_modules/.*/node_modules/fbjs/.*
  15. # Ignore duplicate module providers
  16. # For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
  17. .*/Libraries/react-native/React.js
  18. .*/Libraries/react-native/ReactNative.js
  19. .*/node_modules/jest-runtime/build/__tests__/.*
  20. [include]
  21. [libs]
  22. node_modules/react-native/Libraries/react-native/react-native-interface.js
  23. node_modules/react-native/flow
  24. flow/
  25. [options]
  26. module.system=haste
  27. esproposal.class_static_fields=enable
  28. esproposal.class_instance_fields=enable
  29. experimental.strict_type_args=true
  30. munge_underscores=true
  31. module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
  32. 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'
  33. suppress_type=$FlowIssue
  34. suppress_type=$FlowFixMe
  35. suppress_type=$FixMe
  36. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  37. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  38. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  39. unsafe.enable_getters_and_setters=true
  40. [version]
  41. ^0.33.0