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 diff --git a/src/testWithStruts6/java/.editorconfig b/src/testWithStruts6/java/.editorconfig deleted file mode 100644 index 42a5c01..0000000 --- a/src/testWithStruts6/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