浏览代码

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

正在加载...
取消
保存