New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OTHER] Enable more checks in checkstyle #5119
Comments
I will work on |
Hey, I will be working on |
Now, I will be working on |
I will work on |
I will slowly work on |
Hey, I will be working on MethodName |
I will work on |
I will work on |
@siriak, @BamaCharanChhandogi I have extended the list of obvious checks. Please have a look and edit the list if needed. |
Hi, I will be working on FinalClass. |
I will work on EqualsHashCode. |
I will work on InnerAssignment. |
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:
ConstantName
in checkstyle #5139 by @marysiuniq)AvoidStarImport
in checkstyle #5141)ModifierOrder
in checkstyle #5132 by @marysiuniq)RedundantModifier
in checkstyle #5140)EmptyStatement
#5120)HideUtilityClassConstructor
in checkstyle #5147)ArrayTypeStyle
in checkstyle #5145)InnerAssignment
in checkstyle #5162 by @CodaBlurd)FinalClass
in checkstyle #5154 by @CodaBlurd)(@siriak, @BamaCharanChhandogi feel free to edit the list above)
Additional information
How to contribute
XYZ
", whereXYZ
is your selected check,XYZ
check in thecheckstyle.xml
,mvn checkstyle:check
and fix all of the errors - please keep your changes minimal,XYZ
in checkstyle",The text was updated successfully, but these errors were encountered: