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.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 packages in node_modules which we (i.e. the jitsi-meet project) have
  15. ; seen to cause errors and we have chosen not to fix.
  16. .*/node_modules/@atlassian
  17. .*/node_modules/bower/lib/node_modules/bower-json/test/.*
  18. .*/node_modules/immutable/dist/immutable.js.flow
  19. .*/node_modules/jsonlint/test/.*
  20. ; FIXME Remove once we update past commit
  21. ; https://github.com/facebook/react-native/commit/df8d0d1db9203cc87ad3682e6138b2a9ed714365
  22. .*/node_modules/react-native/local-cli/link/link.js
  23. .*/node_modules/react-native-keep-awake/.*
  24. .*/node_modules/styled-components/.*
  25. .*/\.git/.*
  26. [include]
  27. [libs]
  28. node_modules/react-native/Libraries/react-native/react-native-interface.js
  29. node_modules/react-native/flow/
  30. [options]
  31. emoji=true
  32. module.system=haste
  33. munge_underscores=true
  34. ; FIXME Remove once we update past commit
  35. ; https://github.com/facebook/react-native/commit/df8d0d1db9203cc87ad3682e6138b2a9ed714365
  36. module.name_mapper='^./link/link$' -> 'emptyObject'
  37. 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'
  38. suppress_type=$FlowIssue
  39. suppress_type=$FlowFixMe
  40. suppress_type=$FlowFixMeProps
  41. suppress_type=$FlowFixMeState
  42. suppress_type=$FixMe
  43. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  44. 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]+
  45. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  46. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  47. unsafe.enable_getters_and_setters=true
  48. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  49. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  50. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  51. ; we have .native.js as well so the choice of .web.js may lead to errors.
  52. ; Practically though, it is a potential future problem that we do not have at
  53. ; the time of this writing.
  54. module.file_ext=.web.js
  55. ; Flow's defaults:
  56. module.file_ext=.js
  57. module.file_ext=.jsx
  58. module.file_ext=.json
  59. [version]
  60. ^0.56.0