.flowconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. exact_by_default=true
  19. module.file_ext=.js
  20. module.file_ext=.json
  21. module.file_ext=.ios.js
  22. munge_underscores=true
  23. module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
  24. 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'
  25. suppress_type=$FlowIssue
  26. suppress_type=$FlowFixMe
  27. suppress_type=$FlowFixMeProps
  28. suppress_type=$FlowFixMeState
  29. [lints]
  30. sketchy-null-number=warn
  31. sketchy-null-mixed=warn
  32. sketchy-number=warn
  33. untyped-type-import=warn
  34. nonstrict-import=warn
  35. deprecated-type=warn
  36. unsafe-getters-setters=warn
  37. unnecessary-invariant=warn
  38. signature-verification-failure=warn
  39. [strict]
  40. deprecated-type
  41. nonstrict-import
  42. sketchy-null
  43. unclear-type
  44. unsafe-getters-setters
  45. untyped-import
  46. untyped-type-import
  47. [version]
  48. ^0.149.0