You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.flowconfig 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. ; Ignore packages in node_modules which we (i.e. the jitsi-meet project) have
  17. ; seen to cause errors and we have chosen not to fix.
  18. .*/node_modules/@atlaskit/.*/*.js.flow
  19. .*/node_modules/react-native-keep-awake/.*
  20. .*/node_modules/react-native-permissions/.*
  21. .*/node_modules/styled-components/.*
  22. .*/\.git/.*
  23. [include]
  24. [libs]
  25. node_modules/react-native/Libraries/react-native/react-native-interface.js
  26. node_modules/react-native/flow/
  27. node_modules/react-native/flow-github/
  28. [options]
  29. emoji=true
  30. module.system=haste
  31. munge_underscores=true
  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=$FlowFixMeProps
  36. suppress_type=$FlowFixMeState
  37. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  38. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  39. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  40. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  41. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  42. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  43. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  44. ; we have .native.js as well so the choice of .web.js may lead to errors.
  45. ; Practically though, it is a potential future problem that we do not have at
  46. ; the time of this writing.
  47. module.file_ext=.web.js
  48. ; Flow's defaults:
  49. module.file_ext=.js
  50. module.file_ext=.jsx
  51. module.file_ext=.json
  52. [version]
  53. ^0.67.0