Skip to content

Commit 03a448a

Browse files
committed
add .editorconfig
1 parent 7a49421 commit 03a448a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
indent_size = 4
5+
indent_style = space
6+
insert_final_newline = false
7+
max_line_length = 210
8+
tab_width = 4
9+
trim_trailing_whitespace = true
10+
ij_formatter_off_tag = @formatter:off
11+
ij_formatter_on_tag = @formatter:on
12+
ij_formatter_tags_enabled = false
13+
14+
[*.java]
15+
insert_final_newline = true
16+
ij_java_block_brace_style = end_of_line
17+
ij_java_method_brace_style = next_line
18+
ij_java_class_brace_style = next_line
19+
20+
[*.xml]
21+
indent_style = tab
22+
23+
[*.json]
24+
indent_size = 2
25+
26+
[{*.yaml,*.yml}]
27+
indent_size = 2
28+
29+
[.editorconfig]
30+
ij_editorconfig_align_group_field_declarations = false
31+
ij_editorconfig_space_after_colon = false
32+
ij_editorconfig_space_after_comma = true
33+
ij_editorconfig_space_before_colon = false
34+
ij_editorconfig_space_before_comma = false
35+
ij_editorconfig_spaces_around_assignment_operators = true

0 commit comments

Comments
 (0)