Hey,

I think the checkstyle team is working on sth similar.
The plugins "spotless" and "formatter" have limitations themselves. I was 
not able to get them working properly in every edge case (i.e. additional 
file types like groovy, xml, etc.).

Falko Modler schrieb am Donnerstag, 18. Februar 2021 um 00:39:09 UTC+1:

> Hi Jochen,
>
> https://github.com/revelc/formatter-maven-plugin seems to support
> already the things you've listed.
>
> Cheers,
> Falko
>
> Am 18.02.2021 um 00:16 schrieb Jochen Wiedmann:
> > Hi,
> >
> > what is our stance with regard to new plugins? Because, I'd like to 
> propose one:
> >
> > The source-fixes-maven-plugin (Suggestions for a better name quite 
> welcome.)
> > is kind of companion to the checkstyle-maven-plugin.
> > If there are issues, that the latter detects, and that can be fixed
> > automatically, then
> > the former will do just that. Examples:
> >
> > - Replace leading spaces with tabs, or vice versa.
> > - Replace CRLF with LF, or vice versa.
> > - Remove trailing blanks.
> >
> > Background: Working on commons-lang, I notice that I spend more time
> > fixing Checkstyle issues like the above than doing the actual work.
> >
> > Jochen
> >
> >
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/6fdd0556-386a-4265-9f81-777967980559n%40googlegroups.com.

Reply via email to