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:
parent
583054b929
commit
f21bbaf2a1
1 changed files with 11 additions and 0 deletions
11
.editorconfig
Normal file
11
.editorconfig
Normal 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
|
Loading…
Reference in a new issue