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

Fix lint problems #698

Open
wants to merge 7 commits into
base: unify-req-meta
Choose a base branch
from
Open

Fix lint problems #698

wants to merge 7 commits into from

Conversation

eljobe
Copy link
Member

@eljobe eljobe commented Nov 16, 2024

This commit was created by:

  1. Copying over nitro's .golangci.yml
  2. Running golangci-lint run --fix
  3. Addressing the remaining issues
  4. For the G115 issues, use the safecast library

This commit was created by:

   1. Copying over nitro's `.golangci.yml`
	 2. Running `golangci-lint run --fix`
	 3. Addressing the remaining issues except for gosec G115
	 4. Temporarily disabling gsec G115
Most of the test helpers in the standard libraries (and, indeed in go code
across the open-source world) use try to keep the arguments of types from
the testing package at the front of each function's signature (except if
there is a context.Context object, in which case, that one goes before
the one from the testing library types.)
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.

1 participant