This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 283c5dd1c68 .editorconfig: /ui is 4-space for kotlin; not elsewhere
(#4633)
283c5dd1c68 is described below
commit 283c5dd1c68779126cf9b70d9e7e8dca283101ac
Author: David Smiley <[email protected]>
AuthorDate: Sun Jul 12 14:24:12 2026 -0400
.editorconfig: /ui is 4-space for kotlin; not elsewhere (#4633)
---
.editorconfig | 7 +++----
solr/ui/.editorconfig | 2 ++
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.editorconfig b/.editorconfig
index a98ddb5476e..8c6e893de4a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -157,7 +157,7 @@ ij_java_generate_final_locals = false
ij_java_generate_final_parameters = false
ij_java_generate_use_type_annotation_before_type = true
ij_java_if_brace_force = never
-ij_java_imports_layout = @*,$*,|,*
+ij_java_imports_layout = @*, $*, |, *
ij_java_indent_case_from_switch = true
ij_java_insert_inner_class_imports = false
ij_java_insert_override_annotation = true
@@ -349,7 +349,6 @@ ij_java_wrap_long_lines = true
ij_java_wrap_semicolon_after_call_chain = false
[{*.kt,*.kts}]
-indent_size = 4
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
# Disable wildcard imports entirely
@@ -360,7 +359,7 @@ ij_kotlin_packages_to_use_import_on_demand = unset
ktlint_code_style = intellij_idea
ktlint_function_naming_ignore_when_annotated_with = Composable
compose_allowed_composition_locals = LocalExtendedColorScheme,
LocalExtendedTypography
-ij_kotlin_imports_layout=*,^
+ij_kotlin_imports_layout = *, ^
[*.adoc]
indent_size = 4
@@ -473,7 +472,7 @@ ij_groovy_ginq_on_wrap_policy = 1
ij_groovy_ginq_space_after_keyword = true
ij_groovy_if_brace_force = never
ij_groovy_import_annotation_wrap = 2
-ij_groovy_imports_layout = @*,$*,|,*
+ij_groovy_imports_layout = @*, $*, |, *
ij_groovy_indent_case_from_switch = true
ij_groovy_indent_label_blocks = true
ij_groovy_insert_inner_class_imports = false
diff --git a/solr/ui/.editorconfig b/solr/ui/.editorconfig
new file mode 100644
index 00000000000..14a74d777f8
--- /dev/null
+++ b/solr/ui/.editorconfig
@@ -0,0 +1,2 @@
+[{*.kt,*.kts}]
+indent_size = 4
\ No newline at end of file