linux-tutorial/.editorconfig

30 lines
681 B
INI
Raw Normal View History

2017-11-14 17:39:25 +08:00
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org
2019-10-10 08:56:31 +08:00
# 所有文件换行以 Unix like 风格LFwin 格式特定的除外bat
2017-11-14 17:39:25 +08:00
# 缩进 java 4 个空格,其他所有文件 2 个空格
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
# Change these settings to your own preference
indent_style = space
2019-10-10 08:56:31 +08:00
indent_size = 2
2017-11-14 17:39:25 +08:00
# We recommend you to keep these unchanged
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.bat]
end_of_line = crlf
2019-10-10 08:56:31 +08:00
[*.{java, sh}]
2017-11-14 17:39:25 +08:00
indent_size = 4
[*.md]
trim_trailing_whitespace = false