Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Drop a editorconfig (it's a must on every project)
.editorconfig | 26 ++++++++++++++++++++++++++
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..052cbfceb6877842802450915ade829b4d96f36c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +# I've rather use tabs only for HTML +[*.html] +indent_style = tab + +# The JSON files contain newlines inconsistently +[*.json] +indent_size = 2 +insert_final_newline = ignore + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab