From 2aa0a3db272940d6d87cbf438e3c8bfa38f95685 Mon Sep 17 00:00:00 2001 From: Nate Danner Date: Fri, 1 Nov 2024 21:07:08 +0000 Subject: [PATCH] refactor: Standardize `.editorconfig` Use this link to re-run the recipe: https://app.moderne.io/builder/N3MJaFjMF?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne --- .editorconfig | 9 +++++++++ src/test/java/.editorconfig | 6 ------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .editorconfig delete mode 100644 src/test/java/.editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7a7ad4c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +insert_final_newline = true +trim_trailing_whitespace = true + +[src/test*/java/**.java] +indent_size = 4 +ij_continuation_indent_size = 2 diff --git a/src/test/java/.editorconfig b/src/test/java/.editorconfig deleted file mode 100644 index 42a5c01..0000000 --- a/src/test/java/.editorconfig +++ /dev/null @@ -1,6 +0,0 @@ -root = true - -# Limit continuation indent to 2 spaces for Java files, as we heavily use continuations around our text blocks. -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2