chore: linting and formatting #4
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 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:checkand the 8 Worker tests.