소스 검색

chore: Add .editorconfig to enforce consistent styling (#12021)

Github respects editorconfig settings. Adding indent_size as 4 in
settings makes github indent code to 4 columns.
version-14
Leela vadlamudi 4 년 전
committed by GitHub
부모
커밋
e760c39c68
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. +14
    -0
      .editorconfig

+ 14
- 0
.editorconfig 파일 보기

@@ -0,0 +1,14 @@
# Root editor config file
root = true

# Common settings
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

# python, js indentation settings
[{*.py,*.js}]
indent_style = tab
indent_size = 4

불러오는 중...
취소
저장