elvis_core icon indicating copy to clipboard operation
elvis_core copied to clipboard

Stop printing to stdout/stderr, but return elements we can work on top of (for `elvis` and `rebar3_lint`)

Open Licenser opened this issue 10 years ago • 2 comments

elvis:rock/* seem to include all the printing code as well as the checking code. It could be helpful to separate this out in two step that way the output form the 1st step could be programmatically consumed while the output from step 2 could printed to the console.

Licenser avatar Nov 23 '15 19:11 Licenser

From what I gather from https://github.com/inaka/elvis_core/issues/4, elvis_core should not even print, and let that for e.g. rebar3_lint, so maybe when we pick this up the goal can be to remove printing while adding it next to rebar3_lint (and elvis).

paulo-ferraz-oliveira avatar Jun 09 '25 20:06 paulo-ferraz-oliveira

I agree

elbrujohalcon avatar Jun 09 '25 21:06 elbrujohalcon