.flowconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. ; Ignore polyfills
  13. .*/Libraries/polyfills/.*
  14. [include]
  15. [libs]
  16. node_modules/react-native/Libraries/react-native/react-native-interface.js
  17. node_modules/react-native/flow/
  18. [options]
  19. emoji=true
  20. module.system=haste
  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=$FlowFixMeProps
  26. suppress_type=$FlowFixMeState
  27. suppress_type=$FixMe
  28. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  29. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  30. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  31. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  32. unsafe.enable_getters_and_setters=true
  33. [version]
  34. ^0.60.1