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 golangci-lint #202

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Enable golangci-lint #202

merged 1 commit into from
Nov 27, 2023

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Nov 27, 2023

Add a GitHub actions workflow to run golanci-lint.

  • Only uses latest Go version to avoid gofmt differences.
  • Fixup linting issues.
  • Ignore misspell Prefered as it is used as a public struct variable.
  • Disable unused-parameter as it produces unecessary warning noise.

.github/workflows/golangci-lint.yml Outdated Show resolved Hide resolved
.github/workflows/golangci-lint.yml Show resolved Hide resolved
.golangci.yml Show resolved Hide resolved
Add a GitHub actions workflow to run golanci-lint.
* Only uses latest Go version to avoid `gofmt` differences.
* Fixup linting issues.
* Ignore misspell `Prefered` as it is used as a public struct variable.
* Disable `unused-parameter` as it produces unecessary warning noise.

Signed-off-by: SuperQ <[email protected]>
@jsimonetti jsimonetti merged commit 889c07b into jsimonetti:master Nov 27, 2023
6 checks passed
@SuperQ SuperQ deleted the superq/lint branch November 27, 2023 13:05
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