From c661d141c2323fc6ef4e31ed9a9afd49c380234d Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Fri, 5 Mar 2021 08:07:38 +0000 Subject: [PATCH] Added editorconfig Closes #9 --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..dd608df2 --- /dev/null +++ b/.editorconfig @@ -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