Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

.flowconfig 2.7KB

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