diff --git a/languages/general_purpose.editorconfig b/languages/general_purpose.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..3786796f949766fa09e5325952f2a97dfd50eeb4 --- /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 +