Added editorconfig

Closes #9
This commit is contained in:
Anand Chitipothu
2021-03-05 08:07:38 +00:00
parent ca621e07b7
commit c661d141c2

29
.editorconfig Normal file
View File

@@ -0,0 +1,29 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
trim_trailing_whitespace = true
# Python
[*.py]
indent_size = 4
# Markdown
[*.md]
indent_size = 4
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
# HTML, CSS, javascript, JSON and YAML
[*.{html,css,js,json,yml,yaml}]
indent_size = 2