浏览代码

add new ktlint config params

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 1 年之前
父节点
当前提交
cc40db041d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .editorconfig

+ 3 - 1
.editorconfig

@@ -38,4 +38,6 @@ indent_size=2
 
 [*.{kt,kts}]
 # IDE does not follow this Ktlint rule strictly, but the default ordering is pretty good anyway, so let's ditch it
-ktlint_disabled_rules=import-ordering
+ktlint_standard_import-ordering = disabled
+ij_kotlin_allow_trailing_comma = false
+ij_kotlin_allow_trailing_comma_on_call_site = false