Skip to content

Instantly share code, notes, and snippets.

@ChangJoo-Park
Created January 25, 2017 01:33
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ChangJoo-Park/040537cee75f5ee7cdda47f3cf999625 to your computer and use it in GitHub Desktop.
# 최 상위 EditorConfig 파일
root = true
# 모든 파일에 유닉스 스타일의 줄바꿈과 파일 끝을 지정합니다
[*]
end_of_line = lf
insert_final_newline = true
# 여러 유형의 확장자에 대한 기본 문자열 설정을 합니다
[*.{js,py}]
charset = utf-8
# Python파일의 경우 4칸의 스페이스바를 이용한 들여쓰기를 합니다
[*.py]
indent_style = space
indent_size = 4
# Makefile에 탭을 이용한 들여쓰기를 합니다(크기는 지정하지 않습니다)
[Makefile]
indent_style = tab
# lib폴더 이하의 자바스크립트 파일에 스페이스를 이용한 두칸짜리 들여쓰기를 합니다
[lib/**.js]
indent_style = space
indent_size = 2
# package.json, travis.yml 파일에 2칸, 스페이스 들여쓰기를 합니다.
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment