forked from dunwu/javacore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
31 lines (24 loc) · 723 Bytes
/
.editorconfig
File metadata and controls
31 lines (24 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org
# 所有文件换行使用 Unix like 风格(LF),bat 文件使用 win 风格(CRLF)
# 缩进 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_size = 2
indent_style = space
max_line_length = 120
# We recommend you to keep these unchanged
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.bat]
end_of_line = crlf
[*.java]
indent_size = 4
[*.md]
max_line_length = 0
trim_trailing_whitespace = false