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

ci: fix lint failures #502

Merged
merged 1 commit into from
Jul 16, 2023
Merged

ci: fix lint failures #502

merged 1 commit into from
Jul 16, 2023

Conversation

stevenh
Copy link
Collaborator

@stevenh stevenh commented Jul 16, 2023

Fix lint failures introduced by new 1.53 linters

  • Remove naked returns
  • Accept times using local time where intended
  • Allow unused parameter for now on call method
  • Disable depguard which just seems to be noise

Also:

  • Correct typo so we use the specified golangci-lint version in CI.
  • Remove alias for time package in builtin_date.go

Fix lint failures introduced by new 1.53 linters
* Remove naked returns
* Accept times using local time where intended
* Allow unused parameter for now on call method
* Disable depguard which just seems to be noise

Also:
* Correct typo so we use the specified golangci-lint version in CI.
@stevenh stevenh marked this pull request as ready for review July 16, 2023 18:16
@stevenh stevenh merged commit ea8bcc3 into master Jul 16, 2023
2 checks passed
@stevenh stevenh deleted the ci/fix-new-linters branch July 16, 2023 18:17
sg3des pushed a commit to sg3des/otto that referenced this pull request Jul 17, 2023
Fix lint failures introduced by new 1.53 linters
* Remove naked returns
* Accept times using local time where intended
* Allow unused parameter for now on call method
* Disable depguard which just seems to be noise

Also:
* Correct typo so we use the specified golangci-lint version in CI.
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.

None yet

1 participant