No Description

.flowconfig 1.6KB

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