Skip to content

Commit 7f12db0

Browse files
committedSep 3, 2018
add editorconfig for emqx
1 parent 06e6e5a commit 7f12db0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎.editorconfig

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
14+
# Matches multiple files with brace expansion notation
15+
# Set default charset
16+
[*.{erl, src, hrl}]
17+
indent_style = space
18+
indent_size = 4
19+
20+
# Tab indentation (no size specified)
21+
[Makefile]
22+
indent_style = tab
23+
24+
# Matches the exact files either package.json or .travis.yml
25+
[{.travis.yml}]
26+
indent_style = space
27+
indent_size = 2

0 commit comments

Comments
 (0)
Please sign in to comment.