您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.flowconfig 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/promise/index.js.flow
  19. .*/node_modules/styled-components/.*
  20. [include]
  21. [libs]
  22. node_modules/react-native/Libraries/react-native/react-native-interface.js
  23. node_modules/react-native/flow
  24. flow/
  25. [options]
  26. emoji=true
  27. module.system=haste
  28. experimental.strict_type_args=true
  29. ; FIXME: munge_underscores should be false but right now there are some errors
  30. ; if we change the value to false
  31. ; Treats class properties with underscore as private. Disabled because currently
  32. ; for us "_" can mean protected too.
  33. ; munge_underscores=false
  34. munge_underscores=true
  35. 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'
  36. suppress_type=$FlowIssue
  37. suppress_type=$FlowFixMe
  38. suppress_type=$FixMe
  39. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  40. 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]+
  41. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  42. suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine
  43. unsafe.enable_getters_and_setters=true
  44. ; We (i.e. the jitsi-meet project) are using the haste module system on Web as
  45. ; well, not only on React Native. Unfortunately, Flow does not support .web.js
  46. ; by default. Override Flow's defaults to include .web.js as well. Technically,
  47. ; we have .native.js as well so the choice of .web.js may lead to errors.
  48. ; Practically though, it is a potential future problem that we do not have at
  49. ; the time of this writing.
  50. module.file_ext=.web.js
  51. ; Flow's defaults:
  52. module.file_ext=.js
  53. module.file_ext=.jsx
  54. module.file_ext=.json
  55. [version]
  56. ^0.38.0