1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/formatter
WillAbides cb72bd880d
formatters return output (#921)
Some of the formatters were writing directly to stdout instead of returning the output. That made them more difficult to use them with revivelib. This PR updates those formatters to write to a buffer and return the resulting string.
2023-10-29 08:05:08 +01:00
..
checkstyle.go Code cleaunp (#905) 2023-09-23 10:41:34 +02:00
default.go formatters return output (#921) 2023-10-29 08:05:08 +01:00
doc.go Code cleaunp (#905) 2023-09-23 10:41:34 +02:00
formatter_test.go formatters return output (#921) 2023-10-29 08:05:08 +01:00
friendly.go formatters return output (#921) 2023-10-29 08:05:08 +01:00
json.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
ndjson.go formatters return output (#921) 2023-10-29 08:05:08 +01:00
plain.go formatters return output (#921) 2023-10-29 08:05:08 +01:00
sarif.go fix(deps): update github.com/chavacava/garif digest to 4bd63c2 (#838) 2023-07-29 11:45:34 +02:00
severity.go Conf reason rule disabling (#193) 2019-08-02 08:21:33 -07:00
stylish.go Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
unix.go formatters return output (#921) 2023-10-29 08:05:08 +01:00