Grasscutters / Cultivation

A custom launcher designed to make it as easy as possible to proxy anime game traffic to private servers.
Apache License 2.0
974 stars 160 forks source link

Set up GitHub Actions lints and checks #23

Closed Seeker14491 closed 2 years ago

Seeker14491 commented 2 years ago

This PR sets up GitHub Actions for linting and checking the code. For the backend, formatting is checked with rustfmt, and the clippy linter is ran on Windows, Mac, and Linux. For the frontend, we check for TypeScript errors with tsc and lint with ESLint.

Todo / Questions:

As part of this PR I fixed the warnings tsc and ESLint reported. I have minimal React knowledge though, so let me know if something's off.

SpikeHD commented 2 years ago

To answer your questions:

All in all looks good to me as it currently stands