diff --git a/languages/c.editor_config b/languages/c.editor_config new file mode 100644 index 0000000000000000000000000000000000000000..050691cfff76e3fd5d1e81a31eaf48828da9b6a1 --- /dev/null +++ b/languages/c.editor_config @@ -0,0 +1,37 @@ +### + # EditorConfig file for C/C++ Language projects. + # See https://editorconfig.org/ for documentation. + # + # https://git.brandon-rodriguez.com/other/editorconfig + # Version 1.0 + ## + + +# 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,cc,cpp,h,json,md,o}] +indent_size = 4 + + +### + # Tab styles that should be two spaces per tab. + # Only very nested languages should be put here. + ## +# None so far. diff --git a/languages/c_sharp.editorconfig b/languages/c_sharp.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..34d9aecd09ae72e787a60a58c86041cec0cb36b3 --- /dev/null +++ b/languages/c_sharp.editorconfig @@ -0,0 +1,37 @@ +### + # EditorConfig file for C# Language projects. + # See https://editorconfig.org/ for documentation. + # + # https://git.brandon-rodriguez.com/other/editorconfig + # Version 1.0 + ## + + +# 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. + ## +[*.{cs,json,md,xml}] +indent_size = 4 + + +### + # Tab styles that should be two spaces per tab. + # Only very nested languages should be put here. + ## +# None so far. diff --git a/languages/general_purpose.editorconfig b/languages/django.editorconfig similarity index 85% rename from languages/general_purpose.editorconfig rename to languages/django.editorconfig index 4f008a6bc8c3083f5c5c331fa4e1fd7a899cf6af..b187021a10da1c72d78c39cd736ecb87487e01fb 100644 --- a/languages/general_purpose.editorconfig +++ b/languages/django.editorconfig @@ -1,9 +1,9 @@ ### - # General purpose EditorConfig file. + # EditorConfig file for Django Framework projects. # See https://editorconfig.org/ for documentation. # # https://git.brandon-rodriguez.com/other/editorconfig - # Version 1.0.1 + # Version 1.0 ## @@ -26,7 +26,7 @@ trim_trailing_whitespace = true # Tab styles that should be four spaces per tab. # Most languages will fall under this. ## -[*.{c,css,h,js,json,py,scss,sh}] +[*.{css,js,json,md,py,scss,sh,yaml}] indent_size = 4 diff --git a/languages/python.editorconfig b/languages/python.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..4af77b17bbe81191daaa75b95c469f09ec6b5d0b --- /dev/null +++ b/languages/python.editorconfig @@ -0,0 +1,37 @@ +### + # EditorConfig file for Python Language projects. + # See https://editorconfig.org/ for documentation. + # + # https://git.brandon-rodriguez.com/other/editorconfig + # Version 1.0 + ## + + +# 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. + ## +[*.{json,md,py}] +indent_size = 4 + + +### + # Tab styles that should be two spaces per tab. + # Only very nested languages should be put here. + ## +# None so far.