From d3843c733ae18c6ef8435e59c4ed6f1738b352bb Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 18 Mar 2022 15:56:33 +0900 Subject: [PATCH] Add file type exceptions to .editorconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 파이썬, YAML 등 라이믹스의 탭 규칙을 따르면 안 되는 언어 예외선언 - 탭을 어떤 크기로 표시할 것인지는 .editorconfig에서 강제하지 않고 사용자 설정에 맡김 --- .editorconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.editorconfig b/.editorconfig index 719153d4b..5a3b9180f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,4 +6,11 @@ charset = utf-8 trim_trailing_whitespace = false insert_final_newline = true indent_style = tab + +[*.py] +indent_style = space indent_size = 4 + +[*.{json,yml}] +indent_style = space +indent_size = 2