USEPA / peat

Other
0 stars 1 forks source link

Code Cleanup: Remove Comments & Reformat the Code using Formatters #3

Closed RuneBlaze closed 6 months ago

RuneBlaze commented 7 months ago

Edit: Pending merge of the personal branch into this repo.

Related to JOSS review.

There are a lot of commented out code in the repo, and I think the codebase for longevity and for inviting contributions can benefit from a standardized formatting tool such as https://prettier.io/.

Suggested and potential ways to improve:

  1. Remove comments that are unused code scattered around (no need to be thorough -- but I see quite a bit here and there)
  2. Run prettier (or code formatter of your choice) on all the .js files.
chrstahl commented 6 months ago

1 Cleaned up unused code and ran everything through a beautifier.