Prevent star imports in Java when contributors use IntelliJ based IDEs (#29920)

Closes #29919

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz 2024-05-28 14:28:09 +02:00 committed by GitHub
parent 583054b929
commit f21bbaf2a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

11
.editorconfig Normal file
View file

@ -0,0 +1,11 @@
root = true
[{*.java,*.properties,*.js,*.tsx,*.adoc}]
insert_final_newline = true
trim_trailing_whitespace = true
[*.java]
# 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
ij_java_names_count_to_use_import_on_demand = 999