1 Commits
Author SHA1 Message Date
clawbot d673785d33 Format Go with gofmt, then golines -m 77 (#161)
check / check (push) Successful in 24s
2026-11-07 05:21:32 +01:00
+2 -2
View File
@@ -261,8 +261,8 @@ with your task.
- [ ] Platform-standard formatter is configured (`black`, `prettier`, and for Go - [ ] Platform-standard formatter is configured (`black`, `prettier`, and for Go
`gofmt` then `golines -m 77`) `gofmt` then `golines -m 77`)
- [ ] Default formatter config, except four-space indents (not Go) and the Go - [ ] Default formatter config, except four-space indents (not Go),
77-column limit `proseWrap: always` for Markdown, and the Go 77-column limit
- [ ] Go: `script/bootstrap` installs `golines` with `go install` pinned to a - [ ] Go: `script/bootstrap` installs `golines` with `go install` pinned to a
commit hash; `script/fmt-check` fails when `gofmt` or `golines -m 77` commit hash; `script/fmt-check` fails when `gofmt` or `golines -m 77`
would change a file would change a file