summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wingrove <simonjw@google.com>2022-12-20 09:28:28 +0000
committerSimon Wingrove <simonjw@google.com>2022-12-20 09:44:03 +0000
commit10cb9cdd0196b240a369e01e49b804cff7555b7e (patch)
tree62bd77fc4157bd5f4ec25256ef7bbf731b35d587
parent76c41274ea445de34833d1a2f90e51ac22c485b2 (diff)
downloadktlint-10cb9cdd0196b240a369e01e49b804cff7555b7e.tar.gz
Prevent java.util.* wildcards from being supported
Reduces set of allowable usescases for wildcare import from 2 to 1. This matches Google style, and usual code review comments. This does not count as a formatting check, so import checks apply even in --no-verify-format cases. ktfmt does not have equivalent behavior AFAIK. Test: manually Bug: 261139484 Change-Id: I9e02d4b8426a66a743ad8a160190ea59a15be522
-rw-r--r--.editorconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 1e3f51c..c7cc35a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,3 +4,4 @@ max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true
ij_kotlin_imports_layout=*
+ij_kotlin_packages_to_use_import_on_demand=kotlinx.android.synthetic.**