浏览代码

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
找不到此签名对应的密钥 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

正在加载...
取消
保存