.flowconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. [include]
  14. [libs]
  15. node_modules/react-native/Libraries/react-native/react-native-interface.js
  16. node_modules/react-native/flow
  17. flow/
  18. [options]
  19. module.system=haste
  20. experimental.strict_type_args=true
  21. munge_underscores=true
  22. 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'
  23. suppress_type=$FlowIssue
  24. suppress_type=$FlowFixMe
  25. suppress_type=$FixMe
  26. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  27. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  28. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  29. unsafe.enable_getters_and_setters=true
  30. [version]
  31. ^0.36.0