From 413d478e15f69657dcf0be4c2ceabe805db9ad26 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Wed, 7 Oct 2020 04:07:04 -0400 Subject: [PATCH] Create and populate general-purpose editorconfig --- languages/general_purpose.editorconfig | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 languages/general_purpose.editorconfig diff --git a/languages/general_purpose.editorconfig b/languages/general_purpose.editorconfig new file mode 100644 index 0000000..3786796 --- /dev/null +++ b/languages/general_purpose.editorconfig @@ -0,0 +1,36 @@ +### + # General purpose EditorConfig file. + # See https://editorconfig.org/ for documentation. + ## + + +# Stop editorconfig from searching further above current directory. +root = true + + +### + # Default styles for all files. + ## +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + + +### + # Tab styles that should be four spaces per tab. + # Most languages will fall under this. + ## +[*.{c,css,scss,js,py}] +indent_size = 4 + + +### + # Tab styles that should be two spaces per tab. + # Only very nested languages should be put here. + ## +[*.{html}] +indent_size = 2 + -- GitLab