暂无描述

.flowconfig 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. [ignore]
  2. # We fork some components by platform.
  3. .*/*.web.js
  4. .*/*.android.js
  5. # Some modules have their own node_modules with overlap
  6. .*/node_modules/node-haste/.*
  7. # Ugh
  8. .*/node_modules/babel.*
  9. .*/node_modules/babylon.*
  10. .*/node_modules/invariant.*
  11. # Ignore react and fbjs where there are overlaps, but don't ignore
  12. # anything that react-native relies on
  13. .*/node_modules/fbjs/lib/Map.js
  14. .*/node_modules/fbjs/lib/ErrorUtils.js
  15. # Flow has a built-in definition for the 'react' module which we prefer to use
  16. # over the currently-untyped source
  17. .*/node_modules/react/react.js
  18. .*/node_modules/react/lib/React.js
  19. .*/node_modules/react/lib/ReactDOM.js
  20. .*/__mocks__/.*
  21. .*/__tests__/.*
  22. .*/commoner/test/source/widget/share.js
  23. # Ignore commoner tests
  24. .*/node_modules/commoner/test/.*
  25. # See https://github.com/facebook/flow/issues/442
  26. .*/react-tools/node_modules/commoner/lib/reader.js
  27. # Ignore jest
  28. .*/node_modules/jest-cli/.*
  29. # Ignore Website
  30. .*/website/.*
  31. # Ignore generators
  32. .*/local-cli/generator.*
  33. # Ignore BUCK generated folders
  34. .*\.buckd/
  35. .*/node_modules/is-my-json-valid/test/.*\.json
  36. .*/node_modules/iconv-lite/encodings/tables/.*\.json
  37. .*/node_modules/y18n/test/.*\.json
  38. .*/node_modules/spdx-license-ids/spdx-license-ids.json
  39. .*/node_modules/spdx-exceptions/index.json
  40. .*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
  41. .*/node_modules/resolve/lib/core.json
  42. .*/node_modules/jsonparse/samplejson/.*\.json
  43. .*/node_modules/json5/test/.*\.json
  44. .*/node_modules/ua-parser-js/test/.*\.json
  45. .*/node_modules/builtin-modules/builtin-modules.json
  46. .*/node_modules/binary-extensions/binary-extensions.json
  47. .*/node_modules/url-regex/tlds.json
  48. .*/node_modules/joi/.*\.json
  49. .*/node_modules/isemail/.*\.json
  50. .*/node_modules/tr46/.*\.json
  51. [include]
  52. [libs]
  53. node_modules/react-native/Libraries/react-native/react-native-interface.js
  54. node_modules/react-native/flow
  55. flow/
  56. [options]
  57. module.system=haste
  58. esproposal.class_static_fields=enable
  59. esproposal.class_instance_fields=enable
  60. munge_underscores=true
  61. module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
  62. 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'
  63. suppress_type=$FlowIssue
  64. suppress_type=$FlowFixMe
  65. suppress_type=$FixMe
  66. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
  67. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
  68. suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
  69. [version]
  70. 0.24.0