diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..7a7ad4c70 --- /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 a4824935e..000000000 --- a/src/test/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_1_5/java/.editorconfig b/src/testWithSpringBoot_1_5/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_1_5/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_1/java/.editorconfig b/src/testWithSpringBoot_2_1/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_1/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_2/java/.editorconfig b/src/testWithSpringBoot_2_2/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_2/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_3/java/.editorconfig b/src/testWithSpringBoot_2_3/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_3/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_4/java/.editorconfig b/src/testWithSpringBoot_2_4/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_4/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_5/java/.editorconfig b/src/testWithSpringBoot_2_5/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_5/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_2_7/java/.editorconfig b/src/testWithSpringBoot_2_7/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_2_7/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_3_0/java/.editorconfig b/src/testWithSpringBoot_3_0/java/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_3_0/java/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_3_0/java/org/openrewrite/java/spring/.editorconfig b/src/testWithSpringBoot_3_0/java/org/openrewrite/java/spring/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_3_0/java/org/openrewrite/java/spring/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_3_2/java/org/openrewrite/java/spring/boot3/.editorconfig b/src/testWithSpringBoot_3_2/java/org/openrewrite/java/spring/boot3/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_3_2/java/org/openrewrite/java/spring/boot3/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringBoot_3_3/java/org/openrewrite/java/spring/boot3/.editorconfig b/src/testWithSpringBoot_3_3/java/org/openrewrite/java/spring/boot3/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringBoot_3_3/java/org/openrewrite/java/spring/boot3/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 diff --git a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/.editorconfig b/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/.editorconfig deleted file mode 100644 index 4866b437c..000000000 --- a/src/testWithSpringSecurity_5_7/java/org/openrewrite/spring/security5/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 \ No newline at end of file diff --git a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/.editorconfig b/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/.editorconfig deleted file mode 100644 index 4866b437c..000000000 --- a/src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2 \ No newline at end of file diff --git a/src/testWithSpringSecurity_6_2/java/org/openrewrite/spring/security6/.editorconfig b/src/testWithSpringSecurity_6_2/java/org/openrewrite/spring/security6/.editorconfig deleted file mode 100644 index a4824935e..000000000 --- a/src/testWithSpringSecurity_6_2/java/org/openrewrite/spring/security6/.editorconfig +++ /dev/null @@ -1,5 +0,0 @@ -root = true - -[*.java] -indent_size = 4 -ij_continuation_indent_size = 2