Skip to content

Commit 448816d

Browse files
committed
linter: 💅 add .editorconfig
1 parent 0c7283a commit 448816d

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+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 2
12+
end_of_line = lf
13+
14+
[*.{md,txt,markdown,eex}]
15+
trim_trailing_whitespace = false
16+
17+
[{LICENSE,*.txt}]
18+
insert_final_newline = false
19+
20+
[{Makefile,**.mk}]
21+
indent_style = tab

0 commit comments

Comments
 (0)