You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 line
1.9 KiB

  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. unnecessary-invariant=warn
  45. signature-verification-failure=warn
  46. deprecated-utility=error
  47. [strict]
  48. deprecated-type
  49. nonstrict-import
  50. sketchy-null
  51. unclear-type
  52. unsafe-getters-setters
  53. untyped-import
  54. untyped-type-import
  55. [version]
  56. ^0.122.0