Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i override checkstyle comment line width checking of 80?

Checkstyle checks that comments are not longer than 80 characters long.

How do i override this limitation and give it another value, i.e. 140?

like image 439
Oh Chin Boon Avatar asked Nov 07 '11 04:11

Oh Chin Boon


1 Answers

<module name="LineLength">
    <property name="max" value="140"/>
</module>

should take care of comments as well

like image 85
tolitius Avatar answered Oct 01 '22 16:10

tolitius



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!