Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.editorconfig 548 Bytes
Copy Edit Web IDE Raw Blame History
# http://editorconfig.org
root = true
# 空格替代Tab缩进在各种编辑工具下效果一致,相对美观。多占有些字符倒是次要。
[*]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# 前端相关的代码通常含有开闭标签,会占用大量字符空间,缩进2空格更加美观
[*.{html,xml,json,js,jsp}]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

Comment ( 0 )

Sign in for post a comment