Geen omschrijving

.flowconfig 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. ; These should not be required directly
  9. ; require from fbjs/lib instead: require('fbjs/lib/warning')
  10. node_modules/warning/.*
  11. ; Flow doesn't support platforms
  12. .*/Libraries/Utilities/LoadingView.js
  13. [untyped]
  14. .*/node_modules/@react-native-community/cli/.*/.*
  15. [include]
  16. [libs]
  17. node_modules/react-native/interface.js
  18. node_modules/react-native/flow/
  19. [options]
  20. emoji=true
  21. esproposal.optional_chaining=enable
  22. esproposal.nullish_coalescing=enable
  23. module.file_ext=.js
  24. module.file_ext=.json
  25. module.file_ext=.ios.js
  26. munge_underscores=true
  27. module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
  28. 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'
  29. suppress_type=$FlowIssue
  30. suppress_type=$FlowFixMe
  31. suppress_type=$FlowFixMeProps
  32. suppress_type=$FlowFixMeState
  33. suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
  34. suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
  35. suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
  36. [lints]
  37. sketchy-null-number=warn
  38. sketchy-null-mixed=warn
  39. sketchy-number=warn
  40. untyped-type-import=warn
  41. nonstrict-import=warn
  42. deprecated-type=warn
  43. unsafe-getters-setters=warn
  44. inexact-spread=warn
  45. unnecessary-invariant=warn
  46. signature-verification-failure=warn
  47. deprecated-utility=error
  48. [strict]
  49. deprecated-type
  50. nonstrict-import
  51. sketchy-null
  52. unclear-type
  53. unsafe-getters-setters
  54. untyped-import
  55. untyped-type-import
  56. [version]
  57. ^0.113.0