選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.flowconfig 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. .*/Libraries/react-native/ReactNative.js
  13. ; Ignore packages in node_modules which we (i.e. the jitsi-meet project) have
  14. ; seen to cause errors and we have chosen not to fix.
  15. .*/node_modules/babel-core/.*
  16. .*/node_modules/bower/.*
  17. .*/node_modules/jsonlint/.*
  18. .*/node_modules/styled-components/.*
  19. [include]
  20. [libs]
  21. node_modules/react-native/Libraries/react-native/react-native-interface.js
  22. node_modules/react-native/flow
  23. flow/
  24. [options]
  25. emoji=true
  26. module.system=haste
  27. experimental.strict_type_args=true
  28. munge_underscores=true
  29. 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'
  30. suppress_type=$FlowIssue
  31. suppress_type=$FlowFixMe
  32. suppress_type=$FixMe
  33. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  34. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  35. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  36. unsafe.enable_getters_and_setters=true
  37. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  38. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  39. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  40. ; we have .native.js as well so the choice of .web.js may lead to errors.
  41. ; Practically though, it is a potential future problem that we do not have at
  42. ; the time of this writing.
  43. module.file_ext=.web.js
  44. ; Flow's defaults:
  45. module.file_ext=.js
  46. module.file_ext=.jsx
  47. module.file_ext=.json
  48. [version]
  49. ^0.38.0