From 6ec6e802f4ea23dd5324107b63f807e1c4e655d0 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Thu, 7 Nov 2024 17:48:17 +0100 Subject: [PATCH] Disable trim_trailing_whitespace in editorconfig Currently, the trim_trailing_whitespace setting is enabled for *.java files which leads to a lot of noise when doing simple changes in a PR. This makes it harder to see the essence of the PR. Fixes #34755 Signed-off-by: Thomas Darimont --- .editorconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index c8ccfa12f47..57f92cb572c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,11 @@ root = true -[{*.java,*.js,*.tsx,*.adoc}] +[{*.js,*.tsx,*.adoc}] insert_final_newline = true trim_trailing_whitespace = true [*.java] +insert_final_newline = true # Don't use class imports with an asterisk ('*') in IntelliJ ij_java_use_single_class_imports = true ij_java_class_count_to_use_import_on_demand = 999