Fix all golangci-lint issues (closes #32) #34
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/upaas#34
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":fix/lint-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #32
Summary
Fixes all 45 golangci-lint issues reported on main.
Before
After
All tests pass
Changes
max()builtin (modernize),strconv.Itoa(perfsprint), fix wsl whitespacetemplate.HTMLconversion (unconvert), unused importcleanupContainerhelper to fix nestif, fix lll (line length)setupAuthService/getSessionCookiehelpers to fix funlen, fix wsl/nlreturn/testifylinttestOwnershipVerificationhelper, nolint:dupl for IDOR tests, fix paralleltestNewRequestWithContext(noctx), fix wsl/funlen, nolint:testpackageFix all golangci-lint issuesto Fix all golangci-lint issues (closes #32)