소스 검색

Merge pull request #1628 from edwinhuish/add_editorconfig

dcat 项目文件既有 lf,也有 crlf,添加 editorconfig 加以约束
Jiang Qinghua 3 년 전
부모
커밋
26f045b378
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      .editorconfig

+ 18 - 0
.editorconfig

@@ -0,0 +1,18 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.{yml,yaml}]
+indent_size = 2
+
+[docker-compose.yml]
+indent_size = 4