use prettier library and clean up the codebase
This codebase is hard to read and needs a bit of standardization with linting. There were also a lot of commented out code and superfluous newlines. This PR helps normalize the codebase so it will be easier to contribute to.
- removed commented-out code
- Removed superfluous newlines
- Cleaned up spacing
- Add prettier to
devDependenciesin package.json
This PR is similar to #40, but I also added prettier to the devDependencies as well.
For a formatting change like this, it's best to rip the band-aid off quickly, since it changed a lot of code. But it will make it easier to contribute to going forward.
One major caveat - I was not able to test this locally because of #62 . Care should be taken to validate that this PR works before even considering merging.
Any update on this topic?
I also immediately noticed the inconsistent code format when starting to read this project's code. Would definitely improve readability if prettier is used.