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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. esproposal.optional_chaining=enable
  31. esproposal.nullish_coalescing=enable
  32. module.system=haste
  33. module.system.haste.use_name_reducers=true
  34. # get basename
  35. module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
  36. # strip .js or .js.flow suffix
  37. module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
  38. # strip .ios suffix
  39. module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
  40. module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
  41. module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
  42. module.system.haste.paths.blacklist=.*/__tests__/.*
  43. module.system.haste.paths.blacklist=.*/__mocks__/.*
  44. module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
  45. module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
  46. munge_underscores=true
  47. 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'
  48. suppress_type=$FlowIssue
  49. suppress_type=$FlowFixMe
  50. suppress_type=$FlowFixMeProps
  51. suppress_type=$FlowFixMeState
  52. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  53. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  54. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  55. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  56. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  57. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  58. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  59. ; we have .native.js as well so the choice of .web.js may lead to errors.
  60. ; Practically though, it is a potential future problem that we do not have at
  61. ; the time of this writing.
  62. module.file_ext=.web.js
  63. ; Flow's defaults:
  64. module.file_ext=.js
  65. module.file_ext=.jsx
  66. module.file_ext=.json
  67. [version]
  68. ^0.78.0