Skip to content

Commit 83721a9

Browse files
author
Lance Reid
committed
add .editorconfig to standardise formatting http://editorconfig.org
supported by most major IDEs
1 parent a1e3120 commit 83721a9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Based on: http://editorconfig.org/#example-file
2+
3+
root = true
4+
5+
# Unix-style newlines with a newline ending every file
6+
[*]
7+
end_of_line = lf
8+
insert_final_newline = true
9+
10+
[*]
11+
charset = utf-8
12+
13+
# 4 space indentation
14+
[*.{java,xml,xsd}]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# 2 space indentation
19+
[*.{js,css,html}]
20+
indent_style = space
21+
indent_size = 2

0 commit comments

Comments
 (0)