Add .editorconfig (#34)

This commit is contained in:
Hanzei 2019-03-25 15:31:26 +01:00 committed by Harrison Healey
parent cd8afb141d
commit 63f5322e4e

28
.editorconfig Normal file
View file

@ -0,0 +1,28 @@
# http://editorconfig.org/
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.go]
indent_style = tab
[*.{js,jsx,json,html}]
indent_style = space
indent_size = 4
[webapp/package.json]
indent_size = 2
[Makefile,*.mk]
indent_style = tab
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false