Skip to content

Commit 769e556

Browse files
authored
Merge pull request mybatis#361 from ijliym/master
Add `.editorconfig` to maintain consistent coding styles
2 parents 7f65c65 + 809ebe9 commit 769e556

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*.{adoc, bat, groovy, html, java, js, jsp, kt, kts, md, properties, py, rb, sh, sql, svg, txt, vm, xml, xsd}]
4+
charset = utf-8
5+
6+
[*.{groovy, java, kt, kts, vm, xml, xsd}]
7+
indent_style = space
8+
indent_size = 2
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
end_of_line = lf
12+

0 commit comments

Comments
 (0)