加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.editorconfig 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rowe Wilson Frederisk Holme 提交于 2022-10-23 05:03 . Create .editorconfig
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
tab_width = 4
# end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
# Markdown
[*.{md}]
indent_style = space
indent_size = 2
insert_final_newline = true
# Serialized data
[*.{yml,yaml,json,pbtxt}]
indent_style = space
indent_size = 2
insert_final_newline = true
# Shell script
[*.{sh,bash,bashrc,zsh,fish,ksh,csh}]
indent_style = space
indent_size = 4
insert_final_newline = true
# Python
[*.py]
indent_style = space
indent_size = 4
insert_final_newline = true
# Environment
[*.env]
insert_final_newline = false
# Python requirements
[requirements.txt]
insert_final_newline = true
# Dockerfile
[Dockerfile]
insert_final_newline = true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化