From 044046a9ad0c40f82deb96b1fbc19f418f08a4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BChn?= Date: Mon, 26 May 2025 09:59:08 +0200 Subject: [PATCH] Add default pattern for imports This commit adds the default pattern of the LineLength (https://checkstyle.sourceforge.io/checks/sizes/linelength.html) check to the ignored patterns. The pattern will exempt import and package declarations from the line length check. --- java/checkstyle/checkstyle.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/checkstyle/checkstyle.xml b/java/checkstyle/checkstyle.xml index b692448..d29db95 100644 --- a/java/checkstyle/checkstyle.xml +++ b/java/checkstyle/checkstyle.xml @@ -29,7 +29,7 @@ + value="^(package|import) .*|^ *(((public|private|protected)? (static final|abstract))|@ImportFieldCompletion|@Update|@Field|@AttributeOverride|public (abstract |final )?(class|interface|enum)|assertEquals|[\p{Upper}\p{Digit}_]* *(\(|,))"/>