← 所有代码文件

.editorconfig

跨编辑器和语言保持一致的空白格式。

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{py,go}]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

关于此工具

跨编辑器和语言保持一致的空白格式。

开箱即用的 .editorconfig——查看内容、复制,或以正确的文件名下载。免费,100% 在浏览器中运行。