From d3ef55a8ceb455c0a411abc92cad485525cb3676 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Thu, 22 Jan 2026 02:10:06 +0000 Subject: [PATCH] fix(pmd): update rules for test conventions and style preferences - Allow underscores in JUnit 5 test method names (junit5TestPattern) - Exclude LocalVariableCouldBeFinal (style preference, not a bug) - Exclude MethodArgumentCouldBeFinal (style preference) - Exclude LinguisticNaming (getter-like test names are fine) - Exclude UseUnderscoresInNumericLiterals (12345L is readable) Co-Authored-By: Claude Opus 4.5 --- config/pmd/ruleset.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/pmd/ruleset.xml b/config/pmd/ruleset.xml index 302384c..3be5ee0 100644 --- a/config/pmd/ruleset.xml +++ b/config/pmd/ruleset.xml @@ -48,6 +48,12 @@ + + + + + + @@ -60,9 +66,12 @@ + + + @@ -123,6 +132,8 @@ + +