Skip to content

Commit

Permalink
Add file type exceptions to .editorconfig
Browse files Browse the repository at this point in the history
- 파이썬, YAML 등 라이믹스의 탭 규칙을 따르면 안 되는 언어 예외선언
- 탭을 어떤 크기로 표시할 것인지는 .editorconfig에서 강제하지 않고 사용자 설정에 맡김
  • Loading branch information
kijin committed Mar 18, 2022
1 parent 6d58bb7 commit d3843c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Expand Up @@ -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

0 comments on commit d3843c7

Please sign in to comment.