brailleapps / dotify.formatter.impl

Provides an implementation of the formatter interfaces in dotify.api
GNU Lesser General Public License v2.1
0 stars 6 forks source link

Is it possible to set a maximum line length with PMD? #103

Closed bertfrees closed 5 years ago

bertfrees commented 5 years ago

If so, I'd like to enable it and wrap lines where needed.

joeha480 commented 5 years ago

It's not so easy to enable only certain rules, I don't know if PMD supports it, and I also don't like it.

bertfrees commented 5 years ago

Then I misunderstood. I thought the idea was to enable only some checks initially and gradually do more checks.

joeha480 commented 5 years ago

Sorry I should’ve explained better. It is possible to enable a single category of rules, or enable rules with a level of importance. Depending on where this hypothetical rule is, it might be possible. What I was referring to was just picking one rule, which isn’t very easy, because then you have to manage all rules yourself (I think).