Skip to content

chore: add golangci-lint checks - #852

Open
ShivangiRay wants to merge 1 commit into
RichardKnop:masterfrom
ShivangiRay:codex/add-golangci-lint
Open

chore: add golangci-lint checks#852
ShivangiRay wants to merge 1 commit into
RichardKnop:masterfrom
ShivangiRay:codex/add-golangci-lint

Conversation

@ShivangiRay

Copy link
Copy Markdown

Summary

  • replace the retired gometalinter Make targets with golangci-lint
  • add a pinned, conservative configuration (govet and misspell) that passes for both modules
  • run linting before the existing Travis integration-test job and document local commands

Why

The repository has a lint target but it relies on deprecated tooling. This makes a maintained static-analysis check reproducible locally and in CI without bundling unrelated code cleanup.

Validation

  • GOLANGCI_LINT=/tmp/machinery-tools/golangci-lint make lint
  • (cd v2 && GOLANGCI_LINT=/tmp/machinery-tools/golangci-lint make lint)
  • git diff --check

@ShivangiRay
ShivangiRay marked this pull request as ready for review August 15, 2026 06:23
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