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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. [ignore]
  2. ; We fork some components by platform
  3. .*/*[.]android.js
  4. ; Ignore unexpected extra "@providesModule"
  5. .*/node_modules/.*/node_modules/fbjs/.*
  6. node_modules/react-native/Libraries/react-native/React.js
  7. ; Ignore duplicate module providers
  8. ; For RN Apps installed via npm, "Libraries" folder is inside
  9. ; "node_modules/react-native" but in the source repo it is in the root
  10. node_modules/react-native/Libraries/react-native/React.js
  11. ; Ignore polyfills
  12. node_modules/react-native/Libraries/polyfills/.*
  13. ; These should not be required directly
  14. ; require from fbjs/lib instead: require('fbjs/lib/warning')
  15. node_modules/warning/.*
  16. ; Flow doesn't support platforms
  17. .*/Libraries/Utilities/HMRLoadingView.js
  18. [untyped]
  19. .*/node_modules/@react-native-community/cli/.*/.*
  20. ; Ignore packages in node_modules which we (i.e. the jitsi-meet project) have
  21. ; seen to cause errors and we have chosen not to fix.
  22. .*/node_modules/@atlaskit/.*/*.js.flow
  23. .*/node_modules/react-native-keep-awake/.*
  24. .*/node_modules/react-native-permissions/.*
  25. .*/node_modules/styled-components/.*
  26. .*/\.git/.*
  27. [include]
  28. [libs]
  29. node_modules/react-native/Libraries/react-native/react-native-interface.js
  30. node_modules/react-native/flow/
  31. [options]
  32. emoji=true
  33. esproposal.optional_chaining=enable
  34. esproposal.nullish_coalescing=enable
  35. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  36. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  37. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  38. ; we have .native.js as well so the choice of .web.js may lead to errors.
  39. ; Practically though, it is a potential future problem that we do not have at
  40. ; the time of this writing.
  41. module.file_ext=.web.js
  42. ; Flow's defaults:
  43. module.file_ext=.js
  44. module.file_ext=.json
  45. module.file_ext=.ios.js
  46. module.system=haste
  47. module.system.haste.use_name_reducers=true
  48. # get basename
  49. module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
  50. # strip .js or .js.flow suffix
  51. module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
  52. # strip .ios suffix
  53. module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
  54. module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
  55. module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
  56. module.system.haste.paths.blacklist=.*/__tests__/.*
  57. module.system.haste.paths.blacklist=.*/__mocks__/.*
  58. module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
  59. module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
  60. module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
  61. module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
  62. module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
  63. munge_underscores=true
  64. 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'
  65. suppress_type=$FlowIssue
  66. suppress_type=$FlowFixMe
  67. suppress_type=$FlowFixMeProps
  68. suppress_type=$FlowFixMeState
  69. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
  70. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
  71. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  72. [lints]
  73. sketchy-null-number=warn
  74. sketchy-null-mixed=warn
  75. sketchy-number=warn
  76. untyped-type-import=warn
  77. nonstrict-import=warn
  78. deprecated-type=warn
  79. unsafe-getters-setters=warn
  80. inexact-spread=warn
  81. unnecessary-invariant=warn
  82. signature-verification-failure=warn
  83. deprecated-utility=error
  84. [strict]
  85. deprecated-type
  86. nonstrict-import
  87. sketchy-null
  88. unclear-type
  89. unsafe-getters-setters
  90. untyped-import
  91. untyped-type-import
  92. [version]
  93. ^0.98.0