chore: linting and formatting #4

Merged
jwarykowski merged 1 commit from chore/lint into main 2026-10-15 11:37:06 +00:00
Owner

golangci-lint v2 for the Go client (same config as keybars Pro), and oxlint (type-aware: no floating promises) plus oxfmt for the Worker. CI runs all three; the README lists them.

The Worker now checks request bodies and Polar's activation reply field by field instead of casting them; a malformed reply from Polar gets the usual "couldn't reach" 502 and a log line.

Tested: go test, golangci-lint run, npm run check, lint, fmt:check and the 8 Worker tests.

golangci-lint v2 for the Go client (same config as keybars Pro), and oxlint (type-aware: no floating promises) plus oxfmt for the Worker. CI runs all three; the README lists them. The Worker now checks request bodies and Polar's activation reply field by field instead of casting them; a malformed reply from Polar gets the usual \"couldn't reach\" 502 and a log line. Tested: `go test`, `golangci-lint run`, `npm run check`, lint, `fmt:check` and the 8 Worker tests.
chore: golangci-lint for Go, oxlint and oxfmt for the Worker
All checks were successful
CI / go (pull_request) Successful in 1m6s
CI / worker (pull_request) Successful in 33s
10f948358c
golangci-lint v2 with the same config as keybars Pro, and oxlint (with
type-aware rules) and oxfmt for the Worker; CI runs all three. The Worker
now checks Polar's activation and request bodies field by field instead
of casting them.
jwarykowski deleted branch chore/lint 2026-10-15 11:37:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jwarykowski/licence!4
No description provided.