.flowconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [ignore]
  2. ; We fork some components by platform
  3. .*/*[.]android.js
  4. ; Ignore "BUCK" generated dirs
  5. <PROJECT_ROOT>/\.buckd/
  6. ; Ignore polyfills
  7. node_modules/react-native/Libraries/polyfills/.*
  8. ; Flow doesn't support platforms
  9. .*/Libraries/Utilities/LoadingView.js
  10. [untyped]
  11. .*/node_modules/@react-native-community/cli/.*/.*
  12. [include]
  13. [libs]
  14. node_modules/react-native/interface.js
  15. node_modules/react-native/flow/
  16. [options]
  17. emoji=true
  18. esproposal.optional_chaining=enable
  19. esproposal.nullish_coalescing=enable
  20. exact_by_default=true
  21. module.file_ext=.js
  22. module.file_ext=.json
  23. module.file_ext=.ios.js
  24. munge_underscores=true
  25. module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
  26. 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\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
  27. suppress_type=$FlowIssue
  28. suppress_type=$FlowFixMe
  29. suppress_type=$FlowFixMeProps
  30. suppress_type=$FlowFixMeState
  31. [lints]
  32. sketchy-null-number=warn
  33. sketchy-null-mixed=warn
  34. sketchy-number=warn
  35. untyped-type-import=warn
  36. nonstrict-import=warn
  37. deprecated-type=warn
  38. unsafe-getters-setters=warn
  39. unnecessary-invariant=warn
  40. signature-verification-failure=warn
  41. [strict]
  42. deprecated-type
  43. nonstrict-import
  44. sketchy-null
  45. unclear-type
  46. unsafe-getters-setters
  47. untyped-import
  48. untyped-type-import
  49. [version]
  50. ^0.137.0