Skip to content

Commit 9fd5f90

Browse files
authored
Merge pull request gogs#16 from go-gitea/editorconfig
Added editorconfig file
2 parents a810eaf + d21785e commit 9fd5f90

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.editorconfig

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.go]
12+
indent_style = tab
13+
indent_size = 8
14+
15+
[*.tmpl]
16+
indent_style = tab
17+
indent_size = 2
18+
19+
[Makefile]
20+
indent_style = tab
21+
22+
[*.{less,yml}]
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.js]
27+
indent_style = space
28+
indent_size = 4

0 commit comments

Comments
 (0)