Skip to content
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

SONARJAVA-5224 Update checkstyle rule mappings #4939

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/avoidnoargumentsuperconstructorcall.html#AvoidNoArgumentSuperConstructorCall"
},
{
"key": "coding.ConstructorsDeclarationGroupingCheck",
"name": "Constructors Declaration Grouping",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/constructorsdeclarationgrouping.html#ConstructorsDeclarationGrouping"
},
{
"key": "coding.CovariantEqualsCheck",
"name": "Covariant Equals",
Expand Down Expand Up @@ -363,6 +370,13 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/missingctor.html#MissingCtor"
},
{
"key": "coding.MissingNullCaseInSwitchCheck",
"name": "Missing Null Case In Switch",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/missingnullcaseinswitch.html#MissingNullCaseInSwitch"
},
{
"key": "coding.MissingSwitchDefaultCheck",
"name": "Missing Switch Default",
Expand Down Expand Up @@ -552,6 +566,20 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/unnecessarysemicolonintrywithresources.html#UnnecessarySemicolonInTryWithResources"
},
{
"key": "coding.UnusedCatchParameterShouldBeUnnamedCheck",
"name": "Unused Catch Parameter Should Be Unnamed",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/unusedcatchparametershouldbeunnamed.html#UnusedCatchParameterShouldBeUnnamed"
},
{
"key": "coding.UnusedLambdaParameterShouldBeUnnamedCheck",
"name": "Unused Lambda Parameter Should Be Unnamed",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/unusedlambdaparametershouldbeunnamed.html#UnusedLambdaParameterShouldBeUnnamed"
},
{
"key": "coding.UnusedLocalVariableCheck",
"name": "Unused Local Variable",
Expand All @@ -566,6 +594,13 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/variabledeclarationusagedistance.html#VariableDeclarationUsageDistance"
},
{
"key": "coding.WhenShouldBeUsedCheck",
"name": "When Should Be Used",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/coding/whenshouldbeused.html#WhenShouldBeUsed"
},
{
"key": "design.DesignForExtensionCheck",
"name": "Design For Extension",
Expand Down Expand Up @@ -615,6 +650,13 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/design/onetoplevelclass.html#OneTopLevelClass"
},
{
"key": "design.SealedShouldHavePermitsListCheck",
"name": "Sealed Should Have Permits List",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/design/sealedshouldhavepermitslist.html#SealedShouldHavePermitsList"
},
{
"key": "design.ThrowsCountCheck",
"name": "Throws Count",
Expand Down Expand Up @@ -741,6 +783,13 @@
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/javadoc/javadoccontentlocation.html#JavadocContentLocation"
},
{
"key": "javadoc.JavadocLeadingAsteriskAlignCheck",
"name": "Javadoc Leading Asterisk Align",
"type": "CODE_SMELL",
"severity": "MAJOR",
"url": "https://checkstyle.sourceforge.net/checks/javadoc/javadocleadingasteriskalign.html#JavadocLeadingAsteriskAlign"
},
{
"key": "javadoc.JavadocMethodCheck",
"name": "Javadoc Method",
Expand Down