Skip to content

Commit

Permalink
Development: Modify the IntelliJ editor configuration to discourage s…
Browse files Browse the repository at this point in the history
…tar imports (#7974)
  • Loading branch information
reschandreas authored Feb 13, 2024
1 parent db97fd4 commit c0a5361
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ indent_size = 4
trim_trailing_whitespace = false

[*.java]
ij_java_class_count_to_use_import_on_demand = 4
ij_java_class_count_to_use_import_on_demand = 999
ij_java_names_count_to_use_import_on_demand = 999
ij_java_layout_static_imports_separately = true
ij_java_use_single_class_imports = true
ij_java_imports_layout = java.**,javax.**,org.**,com.**,*,$* # taken from spotless config

[{*.yml,*.yaml}]
indent_size = 2
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config/liquibase/changelog/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# reformatting these files would result in different checksums, so we ignore them
root = true
2 changes: 2 additions & 0 deletions src/test/resources/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# reformatting these files could result in broken tests
root = true

0 comments on commit c0a5361

Please sign in to comment.