Added .editorconfig.

This commit is contained in:
Branimir Karadzic
2014-11-06 20:29:58 -08:00
parent 7e15347858
commit d5a9ffb0c1
2 changed files with 15 additions and 0 deletions

10
.editorconfig Normal file
View File

@@ -0,0 +1,10 @@
[*]
indent_style = tab
indent_size = 4
end_of_line = LF
max_line_length = 100
insert_final_newline = true
[{*.c, *.cpp, *.sc, *.sh, *.lua, *.m, *.mm, *.mk, makefile}]
trim_trailing_whitespace = true

5
.gitattributes vendored
View File

@@ -1,6 +1,11 @@
*.c eol=lf
*.cpp eol=lf
*.h eol=lf
*.sc eol=lf
*.sh eol=lf
*.m eol=lf
*.mm eol=lf
*.md eol=lf
*.lua eol=lf
*.mk eol=lf
makefile eol=lf