You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5110 introduced checkstyle. The config file has some of the rules commented out. It might a good idea to introduce some of them and discuss why the other ones are not needed in this repository.
List of checks which should be introduced
Few of the obvious checks, which should be introduced:
What would you like to share?
#5110 introduced checkstyle. The config file has some of the rules commented out. It might a good idea to introduce some of them and discuss why the other ones are not needed in this repository.
List of checks which should be introduced
Few of the obvious checks, which should be introduced:
ConstantNamein checkstyle #5139 by @marysiuniq)LocalVariableNamein CheckStyle #5191 by @cpu-pixel)MemberNamein checkstyle #5193 by @cpu-pixel)MethodNamein CheckStyle #5182 by @CodaBlurd)ParameterNamein CheckStyle. #5196 by @CodaBlurd)StaticVariableNamein checkstyle #5173 by @vaibhav9t1)TypeName#5214 by @StarDxxx)AvoidStarImportin checkstyle #5141)ModifierOrderin checkstyle #5132 by @marysiuniq)RedundantModifierin checkstyle #5140)EmptyStatement#5120)MultipleVariableDeclarationsin checkstyle #5175 by @vaibhav9t1)HideUtilityClassConstructorin checkstyle #5147)ArrayTypeStylein checkstyle #5145)InvalidJavadocPositionin checkstyle #5237 by @samuelfac)OperatorWrapin checkstyle #5212 by @StarDxxx)ParenPadin checkstyle #5226 by @samuelfac)InnerAssignmentin checkstyle #5162 by @CodaBlurd)FinalClassin checkstyle #5154 by @CodaBlurd)MissingSwitchDefaultin checkstyle #5179 by @BamaCharanChhandogi)NeedBracesin checkstyle #5227 by @samuelfac)AvoidNestedBlocksin checkstyle #5228 by @samuelfac)WhitespaceAroundin checktyle #5241)TodoCommentin checkstyle #5785 by @nishchalgv1)(@siriak, @BamaCharanChhandogi feel free to edit the list above)
Additional information
How to contribute
XYZ", whereXYZis your selected check,XYZcheck in thecheckstyle.xml,mvn checkstyle:checkand fix all of the errors - please keep your changes minimal,XYZin checkstyle",