Open vil02 opened 4 months ago
I will work on EmptyStatement
.
Hey, I will be working on ModifierOrder
.
Now, I will be working on ConstantName
.
I will work on RedundantModifier
.
I will slowly work on AvoidStarImport
.
Hey, I will be working on MethodName
I will work on ArrayTypeStyle
.
I will work on HideUtilityClassConstructor
.
@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.
I will work on LocalFinalVariableName.
Hey, I will work StaticVariableName.
Hi, I will work on MultipleVariableDeclarations.
I will work on MissingSwitchDefault
I will work on MethodName.
Hey, I'll be working on LocalVariableName
. Additionally, I think LocalFinalVariableName
is wrongly marked and checked as LocalVariableName
.
Additionally, I think
LocalFinalVariableName
is wrongly marked and checked asLocalVariableName
.
@cpu-pixel Thanks for spotting that!
Hey, I'll be working on TypeName.
I'll be working on MemberName
.
I will work on ParameterName.
I will work on .OperatorWrap
I will work on .TypeName
.
I will work on ParenPad.
I will work on NeedBraces
I will work on AvoidNestedBlocks
I will work on InvalidJavadocPosition
WhitespaceAround
it conflicts with clang-format
. When I create the spaces clang-format undoes it and causes an error in the checkstyle.
WhitespaceAround
it conflicts withclang-format
. When I create the spaces clang-format undoes it and causes an error in the checkstyle.
Please have a look at #5241.
But you are right: some of the checks (like GenericWhitespace
, NoWhitespaceAfter
) conflict the current clang-format
config.
I will work on enabling the TodoComment
check in the checkstyle.xml
file.
Hey Can I work on something ?
@adityasarfare sure, see what checks are disabled with todo and feel free to enable them one-by-one https://github.com/TheAlgorithms/Java/blob/master/checkstyle.xml
Hey, I am working on NoWhitespaceAfter
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:
(@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",