暫無描述

.flowconfig 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. ; Ignore metro
  15. .*/node_modules/metro/.*
  16. [include]
  17. [libs]
  18. node_modules/react-native/Libraries/react-native/react-native-interface.js
  19. node_modules/react-native/flow/
  20. node_modules/react-native/flow-github/
  21. [options]
  22. emoji=true
  23. module.system=haste
  24. munge_underscores=true
  25. 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'
  26. module.file_ext=.js
  27. module.file_ext=.jsx
  28. module.file_ext=.json
  29. module.file_ext=.native.js
  30. suppress_type=$FlowIssue
  31. suppress_type=$FlowFixMe
  32. suppress_type=$FlowFixMeProps
  33. suppress_type=$FlowFixMeState
  34. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  35. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  36. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  37. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  38. [version]
  39. ^0.63.0