Skip to content

Commit af5c546

Browse files
committed
add .editorconfig to ease the coding conventions
1 parent 59217e6 commit af5c546

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.editorconfig

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
root = true
22

33
[*]
4-
# charset = utf-8
5-
# end_of_line = lf
6-
# indent_size = 2
7-
# indent_style = space
8-
# insert_final_newline = false
9-
# max_line_length = 180
10-
# tab_width = 2
11-
# ij_continuation_indent_size = 8
12-
# ij_formatter_off_tag = @formatter:off
13-
# ij_formatter_on_tag = @formatter:on
14-
# ij_formatter_tags_enabled = true
15-
# ij_smart_tabs = false
16-
# ij_wrap_on_typing = false
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = false
9+
max_line_length = 180
10+
tab_width = 4
11+
ij_continuation_indent_size = 8
12+
ij_formatter_off_tag = @formatter:off
13+
ij_formatter_on_tag = @formatter:on
14+
ij_formatter_tags_enabled = true
15+
ij_smart_tabs = false
16+
ij_wrap_on_typing = false
1717

18-
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.pom,*.rng,*.tld,*.wadl,*.wsdd,*.wsdl,*.xjb,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
18+
[{*.pom,*.xml}]
19+
indent_size = 2
1920
# ij_xml_align_attributes = true
2021
# ij_xml_align_text = false
2122
# ij_xml_attribute_wrap = normal

0 commit comments

Comments
 (0)