Custom Output Pattern
Opened this issue · 2 comments
finalfantasia commented
It would be great if cljfmt
supported custom output pattern so that it can be better integrated with GitHub Actions. clj-kondo
supports this and it makes problem reporting much nicer.
weavejester commented
That's a very good idea. I'll look into adding it when I get a little time (which should be faiiirly soon).
weavejester commented
Looks like this is more difficult to support than it initially appears, at least if we want to get reasonable output. Multi-line support requires URL-escaping the log message, for example, and ideally we'd want to give each chunk of the diff its own warning message with a start and end line number.
I don't think a custom output pattern by itself would be sufficient; we'd probably need a dedicated GitHub reporter.