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.
 
 
 
 
 
 

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