maps
maps copied to clipboard
Supporting React Native 0.81.0, Updating Project Dependencies, Fixing ESLint and Typescript Warnings and Errors
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 generatein the root folder - [x] I have tested the new feature on
/exampleapp.- [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
tsconfigsettings (noEmit,exclude) to avoidTypeScripterrors about overwriting input files. - Fixed
ESLintwarnings (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
expectinvocations 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:fixafter having the prettier plugin restored its functionality, and now prettier errors are properly caught byyarn lint. Because of this, you will see so many files being changed by this PR