Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Formatting and linting #180

Merged
merged 6 commits into from
Jun 8, 2023

Conversation

MechanicalTyler
Copy link
Contributor

Background

Before starting on the next feature, it's pretty clear this repo needs some linting. There is a lot of inconsistency and even some unused code. This should now be taken care of

Testing completed

  • No new functionality here. I ran this in my local private testnet and it still functions properly

Tyler Ruppert added 5 commits June 8, 2023 14:06
* Adding the github actions to lint and fmt on each PR
* Initial linting changes
* Initial formatting changes
* Addresses gosec linting: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server
* Addresses gosec linting: G303: File creation in shared tmp directory without using ioutil.Tempfile
@MechanicalTyler MechanicalTyler changed the title Toaster/fmt and linting Enable Formatting and linting Jun 8, 2023
@taariq taariq merged commit 4777164 into palomachain:master Jun 8, 2023
@taariq taariq deleted the toaster/fmt-and-linting branch June 8, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants