maven - How important is checking the check style errors in JAVA code? -
we trying deploy code using jenkins our qa , our maven goals include -p analysis
in used find check style errors.
now, problem got lot of check style errors , need push code qa immediately.
can build jenkins removing -p analysis
in goals ignores check style errors? can ignore check style errors , push code? cause problems in future?
please suggest me correct method.
thanks!
this team , internal culture. using automated tool enforce consistent style can avoid style debates during code reviews , can prevent developers reformating files liking. (here's question discussing other benefits of maintaining consistent style: research advantages of having standard coding style)
you can disable check push code now, long term want fix errors (whether style definition or code) , keep checks on. behoove ensure when developers build locally same errors code doesn't checked in fail check.
Comments
Post a Comment