Bez popisu

.flowconfig 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [ignore]
  2. # We fork some components by platform.
  3. .*/*.android.js
  4. # Ignore templates with `@flow` in header
  5. .*/local-cli/generator.*
  6. # Ignore malformed json
  7. .*/node_modules/y18n/test/.*\.json
  8. # Ignore the website subdir
  9. <PROJECT_ROOT>/website/.*
  10. # Ignore BUCK generated dirs
  11. <PROJECT_ROOT>/\.buckd/
  12. # Ignore unexpected extra @providesModule
  13. .*/node_modules/commoner/test/source/widget/share.js
  14. # Ignore duplicate module providers
  15. # For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
  16. .*/Libraries/react-native/React.js
  17. .*/Libraries/react-native/ReactNative.js
  18. .*/node_modules/jest-runtime/build/__tests__/.*
  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. module.system=haste
  26. esproposal.class_static_fields=enable
  27. esproposal.class_instance_fields=enable
  28. experimental.strict_type_args=true
  29. munge_underscores=true
  30. module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
  31. 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'
  32. suppress_type=$FlowIssue
  33. suppress_type=$FlowFixMe
  34. suppress_type=$FixMe
  35. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  36. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  37. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  38. unsafe.enable_getters_and_setters=true
  39. [version]
  40. ^0.30.0