瀏覽代碼

Merge pull request #96 from kkovacs/feature/editorconfig

Added .editorconfig
chore/proposed-structure
Kyle Quest 4 年之前
committed by GitHub
父節點
當前提交
f1989ba1ca
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 22 行新增0 行删除
  1. +22
    -0
      .editorconfig

+ 22
- 0
.editorconfig 查看文件

@@ -0,0 +1,22 @@
root = true

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

[{*.go,Makefile,.gitmodules,go.mod,go.sum}]
indent_style = tab

[*.md]
indent_style = tab
trim_trailing_whitespace = false

[*.{yml,yaml,json}]
indent_style = space
indent_size = 2

[*.{js,jsx,ts,tsx,css,less,sass,scss,vue,py}]
indent_style = space
indent_size = 4

Loading…
取消
儲存