Editor config

This commit is contained in:
Felipe Martín 2015-06-18 00:08:10 +02:00
parent df209bed21
commit e2cf7158a2
1 changed files with 34 additions and 0 deletions

34
.editorconfig Normal file
View File

@ -0,0 +1,34 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Set default charset
[*.{js,py}]
charset = utf-8
# Python code conventiopn
[*.py]
indent_style = space
indent_size = 4
# Javascript
[**.{js,json,md}]
indent_style = space
indent_size = 2
insert_final_newline = true
# HTML
[*.html]
indent_style = tab
insert_final_newline = false
indent_size = 2
# Tab indentation (no size specified)
[Makefile]
indent_style = tab