parse-community / Parse-SDK-JS

The JavaScript SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
1.32k stars 596 forks source link

refactor: Run ESLint against TypeScript files #2135

Closed dplewis closed 3 months ago

dplewis commented 3 months ago

Pull Request

Issue

Linting currently only runs on TS declaration files (.d.ts) and not on the TS files themselves.

Closes: https://github.com/parse-community/Parse-SDK-JS/pull/2070

Approach

Bump eslint to 8.56.0, replace babel parse with typescript parser. This also fixes dtslint parser.

Convert the following files to TS

Cloud.js
LiveQueryClient
LocalDatastore
LocalDatastoreController.default
LocalDatastoreController.react-native
LocalDatastoreUtils
ParseCLP

Tasks

parse-github-assistant[bot] commented 3 months ago

Thanks for opening this pull request!

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (b50790a) to head (bd51015). Report is 43 commits behind head on alpha.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## alpha #2135 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 61 64 +3 Lines 6186 6345 +159 Branches 1499 1521 +22 ========================================== + Hits 6186 6345 +159 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

parseplatformorg commented 3 months ago

🎉 This change has been released in version 5.2.0-alpha.1

parseplatformorg commented 1 month ago

🎉 This change has been released in version 5.2.0-beta.1

parseplatformorg commented 1 month ago

🎉 This change has been released in version 5.2.0