Improve EditorConfig file

This commit is contained in:
Vedran Pavic 2018-03-16 12:55:33 +01:00 committed by Rob Winch
parent 3a740ad988
commit b640d84b12
1 changed files with 14 additions and 9 deletions

View File

@ -1,17 +1,22 @@
# EditorConfig for Spring Security
# see https://github.com/spring-projects/spring-security/blob/master/CONTRIBUTING.md#mind-the-whitespace
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = latin1
# 4 tabs indentation
indent_style = tab
tab_width = 4
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
[*.java]
indent_style = tab
indent_size = 4
charset = latin1
continuation_indent_size = 8
[*.xml]
indent_style = tab
indent_size = 4
charset = latin1
continuation_indent_size = 8