From 10be88d3e1de2c00b0dfc3c389d1ad2c0e99a724 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 16 Oct 2020 14:35:46 +0200 Subject: [PATCH] Specify import ordering rules Now Android Studio and ktlint should finally agree on how to order imports. --- .editorconfig | 2 ++ .idea/codeStyles/Project.xml | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..b759ad060 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,2 @@ +[*.{kt,kts}] +kotlin_imports_layout = *,^* diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index a2e849b8b..f3040856d 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -7,7 +7,13 @@ +