Skip to content

ci: lint code written since v0.1.0 - #4

Merged
GraysonCAdams merged 1 commit into
mainfrom
ci/lint
Nov 26, 2026
Merged

GraysonCAdams merged 1 commit into
mainfrom
ci/lint

Conversation

@GraysonCAdams

Copy link
Copy Markdown
Contributor

Adds a lint job: golangci-lint's standard linters plus gofmt and goimports, and a go mod tidy check. It reports only code changed since v0.1.0, so the corten-matrix snapshot stays as it was. Run over the whole tree it finds 356 existing issues; over code since v0.1.0 it finds none once QF1008 is off, since the connector spells out embedded fields on purpose. It is not a required check yet.

Test plan

  • Ran golangci-lint v2.15.0 locally with --new-from-rev=v0.1.0: 0 issues.
  • Added a badly indented function with a dead assignment to a test file: 3 issues (gofmt, ineffassign, unused), then reverted.

@GraysonCAdams
GraysonCAdams merged commit 19eb1cb into main Nov 26, 2026
4 checks passed
@GraysonCAdams
GraysonCAdams deleted the ci/lint branch November 26, 2026 21:33
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