chore: linting and formatting #19
No reviewers
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jwarykowski/keybars!19
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/lint"
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?
golangci-lint v2 (
.golangci.yml, the same as keybars Pro): the standard linters plus errorlint, gocritic, revive, misspell (UK), modernize, intrange and others, with gofumpt and goimports. CI runs it in place of the gofmt check.Fixed: unchecked errors (tests now fail on them instead of ignoring them), doc comments on exported names, a range loop. No behaviour change;
go test ./...passes.