maps icon indicating copy to clipboard operation
maps copied to clipboard

Supporting React Native 0.81.0, Updating Project Dependencies, Fixing ESLint and Typescript Warnings and Errors

Open whiteHatCip opened this issue 5 months ago • 0 comments

Description

This PR contains no functional changes that affect the behavior of this library.

The dependencies and dev dependencies have been updated to their latest version. In addition to that, plenty of chore activities have been implemented, in order to make the library as clean as possible.

Because of the high amount of files changed, I advise you to review this PR using Google Chrome, as it seems that from Safari the Github UI hangs when entering the Files Changed tab But still, this PR contains ONLY "cosmetic" changes to the code, driven by ESLint and prettier, by simply running yarn lint

Checklist

  • [x] I've read CONTRIBUTING.md
  • [x] I updated the doc/other generated code with running yarn generate in the root folder
  • [x] I have tested the new feature on /example app.
    • [x] In V11 mode/ios
    • [x] In New Architecture mode/ios
    • [x] In V11 mode/android
    • [x] In New Architecture mode/android
  • [x] I updated the example app (but no new feature has been implemented)

Changes

  • Adjusted tsconfig settings (noEmit, exclude) to avoid TypeScript errors about overwriting input files.
  • Fixed ESLint warnings (variable shadowing, no-continue and so on) by renaming loop variables and restructuring conditionals and everything else that would prevent ESLint/Typescript from complaining.
  • Some tests were throwing ESLint warnings because the expect invocations are performed from within custom-made functions. These warnings have been fixed by updating the name of jest assert functions in the eslint configuration file.
  • Ran yarn lint:fix after having the prettier plugin restored its functionality, and now prettier errors are properly caught by yarn lint. Because of this, you will see so many files being changed by this PR

whiteHatCip avatar Aug 24 '25 13:08 whiteHatCip