Now that ktlint plugin is updated to support custom reports, we should also support html reports. This is mainly just for providing better console output for html reports.
The easiest (and most maintainable) integration would be that we will leave the configuration up to the user. For convenience we can provide sample enabling html reports.
In our integration we will just take a look if there are html reports available. If so, we can prefer over txt
Now that ktlint plugin is updated to support custom reports, we should also support html reports. This is mainly just for providing better console output for html reports.
https://github.com/JLLeitschuh/ktlint-gradle#custom-reporters
The easiest (and most maintainable) integration would be that we will leave the configuration up to the user. For convenience we can provide sample enabling html reports.
In our integration we will just take a look if there are
html
reports available. If so, we can prefer overtxt