Skip to content

Commit 220d1fc

Browse files
committed
.editorconfig: add universal configuration for most of the editors.
@see http://EditorConfig.org No functional changes. [ci skip]
1 parent b81f88b commit 220d1fc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Universal configuration for most of the editors.
2+
# http://EditorConfig.org
3+
4+
# For descriptions of the options see:
5+
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
6+
7+
# top-most EditorConfig file
8+
root = true
9+
10+
[*.{sh,js,sql,css,xml,html,java,groovy,properties}]
11+
indent_style = tab
12+
indent_size = 4
13+
charset = utf-8
14+
end_of_line = lf
15+
insert_final_newline = true
16+
trim_trailing_whitespace = false
17+
18+
[*.{yml,json,conf}]
19+
indent_style = space
20+
indent_size = 2
21+

0 commit comments

Comments
 (0)