From a096eaf288b8bb0a0d63b5539089191bfa1430e1 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 15 Mar 2020 14:58:16 +0000 Subject: [PATCH] Remove spaces from brace expansion in .editorconfig The spaces confuse ktlint. Signed-off-by: Graham --- .editorconfig | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index c1e50b0347..62441a61df 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,13 +7,18 @@ trim_trailing_whitespace = true max_line_length = 120 indent_style = tab -[*.{kt, kts}] +# Prevent IDEA from translating *.{kt,kts} -> *.{kt, kts}. This confuses ktlint. +# @formatter:off +[*.{kt,kts}] +# @formatter:on indent_style = space indent_size = 4 # see https://github.com/pinterest/ktlint/issues/527 # noinspection EditorConfigKeyCorrectness disabled_rules = import-ordering -[*.{xml, yaml, yml}] +# @formatter:off +[*.{xml,yaml,yml}] +# @formatter:on indent_style = space indent_size = 2